hello,
I'm using listbox as a multiselect via the multiple prop. However, clicking a selected item does not unselect the item. I tried the react headless UI and it unselects automatically.
Just in case anyone else runs into this issue, you need to pass both multiple and toggleable props to the Listboxcomponent in order to enable the ability to deselect options.
hello, I'm using listbox as a multiselect via the multiple prop. However, clicking a selected item does not unselect the item. I tried the react headless UI and it unselects automatically.
Thanks for the library!