seek-oss / playroom

Design with JSX, powered by your own component library.
MIT License
4.45k stars 183 forks source link

Checkbox logic could be improved #256

Closed penx closed 1 month ago

penx commented 2 years ago

(firstly, great product ❤️)

Say I have the following checkboxes for widths:

Screenshot 2022-03-04 at 15 15 06

If I want to hide 1024 and show 1180, I would expect to be able to:

However, when I hit 1024, all checkboxes get deselected, and when I click 1180, only 1180 is selected.

If I click these in quick succession, the logic is confusing.

I know that all checkboxes ticked === all checkboxes unticked, but for my I would prefer it if these weren't all auto unticked for me, due to the UX described above.