jquense / react-widgets

Polished, feature rich, accessible form inputs built with React
http://jquense.github.io/react-widgets/
MIT License
2.34k stars 395 forks source link

Dropdowns no longer set the first item to focused #1100

Closed AaronBuxbaum closed 3 years ago

AaronBuxbaum commented 3 years ago

As of version ~5.3.0 (this works on ~5.2.0), the first item in a dropdown is no longer set to focused

before: <div role="option" data-rw-option="" data-rw-focusable="" tabindex="-1" aria-selected="false" class="rw-list-option rw-state-focus" id="rw_10_listbox_active_option" data-rw-focused="">

after: <div role="option" data-rw-option="" data-rw-focusable="" tabindex="-1" aria-selected="false" class="rw-list-option">

jquense commented 3 years ago

check that you don't have two versions installed accidentally

AaronBuxbaum commented 3 years ago

yup, that was it!