Skip to content

Commit

Permalink
Fix commit 2c8ccab
Browse files Browse the repository at this point in the history
The dropdown was incorrectly closing with right arrow too
  • Loading branch information
Massi-X committed Nov 26, 2024
1 parent 5ae3c62 commit 8d619fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parts/suggestions.js
Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@ export default {
this.state.autoCompleteData = selectedElmData;
this.input.autocomplete.set.call(this, value)
return false
} else if(isSelectMode && _s.userInput && !_s.autoComplete.tabKey) { // do not forget to hide the dropdown in select mode!
} else if( e.key == 'Tab' && !_s.autoComplete.tabKey && isSelectMode && _s.userInput ) { // do not forget to hide the dropdown in select mode if Tab is pressed
this.dropdown.hide()
return false
}

0 comments on commit 8d619fa

Please sign in to comment.