fix(core): unwrap disableKeyboardA11y to check if keyboard movement is allowed (#1988)

* fix(core): unwrap disableKeyboardA11y to check if keyboard movement is disabled

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2025-11-20 16:42:00 +01:00
parent 6008d63304
commit ce4a8fb001
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@vue-flow/core": patch
---
Correctly unwrap disableKeyboardA11y ref when checking if a selection can be moved or not.

View File

@@ -45,7 +45,7 @@ function onContextMenu(event: MouseEvent) {
}
function onKeyDown(event: KeyboardEvent) {
if (disableKeyboardA11y) {
if (disableKeyboardA11y.value) {
return
}