We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isPressed
true
blur
contextmenu
1 parent a48659a commit e51f08cCopy full SHA for e51f08c
.changeset/lovely-hairs-push.md
@@ -0,0 +1,5 @@
1
+---
2
+"@vue-flow/core": patch
3
4
+
5
+Set `isPressed` to `true` if permanent keypress is enabled
packages/core/src/composables/useKeyPress.ts
@@ -146,7 +146,7 @@ export function useKeyPress(keyFilter: MaybeRefOrGetter<KeyFilter | boolean | nu
146
147
pressedKeys.clear()
148
149
- isPressed.value = false
+ isPressed.value = toValue(keyFilter) === true
150
}
151
152
function createKeyFilterFn(keyFilter: KeyFilter | boolean | null) {
0 commit comments