fix(core): bubble up keydown event in node wrapper
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -210,8 +210,6 @@ function onSelectNode(event: MouseEvent) {
|
||||
const onKeyDown = (event: KeyboardEvent) => {
|
||||
if (isInputDOMNode(event)) return
|
||||
|
||||
event.preventDefault()
|
||||
|
||||
if (elementSelectionKeys.includes(event.key) && selectable) {
|
||||
const unselect = event.key === 'Escape'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user