Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
RFC: Replace downshift by react-select #2135
RFC - Replace downshift by react-select
A lot of the code in
Whatever we do, we'll never be able to reach the level of accessibility of the native select or the one of a library with hundreds of testers and contributors.
Someone actually complained about our select component on Twitter (see StyledSelect accessibility · Issue #2056 · opencollective/opencollective · GitHub)
By using a library to handle our selects, we can benefit from other rich features that they may implement. See
In addition to everything you could expect from a select, it has the following features:
Useful to easily pick items from long lists (ex: for our countries select)
Could be usefull if we want to implement an autocomplete select to pick a collective. We had this use case for "archive collective", to transfer the remaining funds to another collective.
This mode is made for things like tags input. It combines autocomplete / select with the ability to add new items.
Impact on bundle size
Once this change is made, we can remove:
Proof of concept
Can be added to this PR if requested.
Adoption / Transition strategy
We only use