fix #917
This commit is contained in:
parent
aaf8084198
commit
0824e6f0ad
1 changed files with 1 additions and 0 deletions
|
@ -690,6 +690,7 @@
|
||||||
},
|
},
|
||||||
navigateOptions(direction){
|
navigateOptions(direction){
|
||||||
const optionsLength = this.flatOptions.length - 1;
|
const optionsLength = this.flatOptions.length - 1;
|
||||||
|
if (optionsLength < 0) return;
|
||||||
|
|
||||||
let index = this.focusIndex + direction;
|
let index = this.focusIndex + direction;
|
||||||
if (index < 0) index = optionsLength;
|
if (index < 0) index = optionsLength;
|
||||||
|
|
Loading…
Add table
Reference in a new issue