Open gfohl opened 2 years ago
onFocus in MenuItems doesn't seem to be working. Using example in docs for capture: https://user-images.githubusercontent.com/67913063/133138185-e1a2e579-36b0-4f8c-b331-3c01ef5e9812.mp4
onFocus should detect focus with mouse/keyboard
MenuItem element props: https://reach.tech/menu-button/#menuitem
Discovered when my Menu was long and had some overflow. Using keyboard to navigate MenuItems does not scroll to current item.
Seems to be the same with <ComboboxOption>
<ComboboxOption>
🐛 Bug report
Current Behavior
onFocus in MenuItems doesn't seem to be working. Using example in docs for capture: https://user-images.githubusercontent.com/67913063/133138185-e1a2e579-36b0-4f8c-b331-3c01ef5e9812.mp4
Expected behavior
onFocus should detect focus with mouse/keyboard
Reproducible example
MenuItem element props: https://reach.tech/menu-button/#menuitem
Additional context
Discovered when my Menu was long and had some overflow. Using keyboard to navigate MenuItems does not scroll to current item.
Your environment