chore: add debug statements

This commit is contained in:
Shivam Mishra
2024-05-02 18:06:50 +05:30
parent bedf15eadb
commit 5c98414334
3 changed files with 34 additions and 7 deletions
@@ -22,7 +22,11 @@ export default {
getKeyboardEvents() {
return {
ArrowUp: {
action: this.moveSelectionUp,
action: e => {
this.moveSelectionUp();
console.log('ArrowUp in mentionSelectionKeyboardMixin');
e.preventDefault();
},
allowOnFocusedInput: true,
},
'Control+KeyP': {
@@ -33,7 +37,11 @@ export default {
allowOnFocusedInput: true,
},
ArrowDown: {
action: this.moveSelectionDown,
action: e => {
this.moveSelectionDown();
console.log('ArrowDown in mentionSelectionKeyboardMixin');
e.preventDefault();
},
allowOnFocusedInput: true,
},
'Control+KeyN': {
@@ -46,6 +54,7 @@ export default {
Enter: {
action: e => {
this.onSelect();
console.log('Enter in mentionSelectionKeyboardMixin');
e.preventDefault();
},
allowOnFocusedInput: true,