reactjs / react-autocomplete

WAI-ARIA compliant React autocomplete (combobox) component
MIT License
2.17k stars 532 forks source link

Item under cursor is re-highlighted when using the keyboard to scroll through items #273

Open CMTegner opened 7 years ago

CMTegner commented 7 years ago

When using the keyboard to scroll items into view the highlighted item will change unexpectedly. It seems as though the item where the cursor is resting is re-highlighted when the offset of the list is changed (to bring the offscreen item you want to highlight into view).

81d5761c-8dae-11e7-933d-6a970b9d7fa8

I was able to reproduce this in Chrome, Firefox, and Safari, all on macOS Sierra (didn't try any other browsers).