design-system icon indicating copy to clipboard operation
design-system copied to clipboard

Refactor Select / Combobox - proof of concept

Open gu-stav opened this issue 2 years ago • 0 comments

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 .

gu-stav avatar Jun 27 '22 09:06 gu-stav