juanca / react-aria-components

React ARIA-compliant Components
https://juanca.github.io/react-aria-components
MIT License
6 stars 3 forks source link

Listbox component #69

Closed juanca closed 4 years ago

juanca commented 5 years ago

Deployment: https://juanca.github.io/react-aria-components/listbox/

Resources:

This would help the Grid development to showcase better Grid examples.

juanca commented 5 years ago

I think after a bit of attempts, I do not think single select is worth an implementation in a listbox -- at least not with the current implementation of Cursor.

A huge problem to solve: if you were to select on focus, focusing out of and back into a list box will trigger a select <=> deselect.

juanca commented 4 years ago

I'll get to this another way. I think there is a better pattern to follow for complex and useful React components. More to come!