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:
5
.changeset/many-forks-grin.md
Normal file
5
.changeset/many-forks-grin.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@vue-flow/core": patch
|
||||
---
|
||||
|
||||
Correctly unwrap disableKeyboardA11y ref when checking if a selection can be moved or not.
|
||||
@@ -45,7 +45,7 @@ function onContextMenu(event: MouseEvent) {
|
||||
}
|
||||
|
||||
function onKeyDown(event: KeyboardEvent) {
|
||||
if (disableKeyboardA11y) {
|
||||
if (disableKeyboardA11y.value) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user