design-system
design-system copied to clipboard
Refactor Select / Combobox - proof of concept
Currently the Select
and Combobox
components are very complex and complicated to understand. It is hard to extend them, because the way events are handled get in the way.
This leads to a problem, that we still have react-select
in the codebase of @strapi/strapi
. In the content-squad we will need to extend both components in the near future. Before-hand we'd like to explore, if we can make both components easier to maintain, by using a framework like: https://github.com/downshift-js/downshift or https://www.radix-ui.com/docs/primitives/components/select .