Skip to content

Commit

Permalink
Do not advance in select mode
Browse files Browse the repository at this point in the history
Do not higlight the next option while in select mode but keep the current one
  • Loading branch information
Massi-X committed Nov 20, 2024
1 parent 89655c1 commit 16e6788
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
Expand Up @@ -116,7 +116,7 @@ export default {
if( selectedElm ){
this.dropdown.selectOption(selectedElm)
// highlight next option
selectedElm = this.dropdown.getNextOrPrevOption(selectedElm, !actionUp)
if(!isSelectMode) selectedElm = this.dropdown.getNextOrPrevOption(selectedElm, !actionUp)
this.dropdown.highlightOption(selectedElm)
return
}
Expand Down

0 comments on commit 16e6788

Please sign in to comment.