chore(onFocus): add disableKeyboardA11y

This commit is contained in:
Abbey Yacoe
2025-06-02 16:04:00 +02:00
parent a488322c55
commit 69ff043350

View File

@@ -156,6 +156,10 @@ export function NodeWrapper<NodeType extends Node>({
};
const onFocus = () => {
if (disableKeyboardA11y) {
return;
}
const { panZoom } = store.getState();
const zoom = panZoom?.getViewport().zoom ?? 1;
panZoom?.setViewport(