Skip to content

Commit 16e6788

Browse files
committed
Do not advance in select mode
Do not higlight the next option while in select mode but keep the current one
1 parent 89655c1 commit 16e6788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parts/suggestions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export default {
116116
if( selectedElm ){
117117
this.dropdown.selectOption(selectedElm)
118118
// highlight next option
119-
selectedElm = this.dropdown.getNextOrPrevOption(selectedElm, !actionUp)
119+
if(!isSelectMode) selectedElm = this.dropdown.getNextOrPrevOption(selectedElm, !actionUp)
120120
this.dropdown.highlightOption(selectedElm)
121121
return
122122
}

0 commit comments

Comments
 (0)