segmentio / evergreen

🌲 Evergreen React UI Framework by Segment
https://evergreen.segment.com
MIT License
12.39k stars 832 forks source link

Select Menu arrow key events #1245

Closed derekvelzy closed 3 years ago

derekvelzy commented 3 years ago

Link to docs: Select Menu, Single Select Item

Expected: Up & Down arrow keys should accurately select options above or below the currently selected item.

Actual: Unpredictable behavior with up & down navigation.

mshwery commented 3 years ago

Nice catch! I'm guessing this is potentially a bad merge, or perhaps a bad hooks implementation. cc @kamebkj @akleiner2

mshwery commented 3 years ago

Resolved by #1256

(give it a spin here https://deploy-preview-1256--evergreen-storybook.netlify.app/?path=/story/select-menu--selectmenu)