feat: remove prevent default

This commit is contained in:
Shivam Mishra
2024-05-02 14:48:48 +05:30
parent 285017647b
commit 52adc6b4ab
3 changed files with 12 additions and 31 deletions
@@ -22,10 +22,7 @@ export default {
getKeyboardEvents() {
return {
ArrowUp: {
action: e => {
this.moveSelectionUp();
e.preventDefault();
},
action: this.moveSelectionUp,
allowOnFocusedInput: true,
},
'Control+KeyP': {
@@ -36,10 +33,7 @@ export default {
allowOnFocusedInput: true,
},
ArrowDown: {
action: e => {
this.moveSelectionDown();
e.preventDefault();
},
action: this.moveSelectionDown,
allowOnFocusedInput: true,
},
'Control+KeyN': {