What you did:
1) Go to any implementation, for example: https://darrenjennings.github.io/vue-autosuggest
2) Type a letter so you get the suggestions
3) Use the down arrow key to select a suggestion
4) Use the up arrow key to go back to the input and keep pressing up a couple of times
5) To get back to the suggestions, you'd expect that the down arrow key would work immediately, but you have to press it as often as you pressed the up arrow key in step 4
Tried it in current versions of Chrome, Firefox, Safari on current macos and Windows.
Suggested solution:
Probably make sure the index variable can't be negative
vue-autosuggest
version: 2.1.1node
version: v9.6.1npm
version: 6.0.1What you did: 1) Go to any implementation, for example: https://darrenjennings.github.io/vue-autosuggest 2) Type a letter so you get the suggestions 3) Use the down arrow key to select a suggestion 4) Use the up arrow key to go back to the input and keep pressing up a couple of times 5) To get back to the suggestions, you'd expect that the down arrow key would work immediately, but you have to press it as often as you pressed the up arrow key in step 4
Tried it in current versions of Chrome, Firefox, Safari on current macos and Windows.
Suggested solution: Probably make sure the index variable can't be negative