fix(core): pass selectionKeyCode ref to useKeyPress
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -92,7 +92,7 @@ onMounted(() => {
|
||||
viewportRef: viewportElement,
|
||||
})
|
||||
|
||||
useKeyPress(selectionKeyCode, (keyPress) => {
|
||||
useKeyPress($$(selectionKeyCode), (keyPress) => {
|
||||
selectionKeyPressed = keyPress
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user