-
I have implemented a component for selecting multiple options with Listbox. My problem: You can find the code here: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found the answer. The ListboxOptions opens onPointerDown event and not onClick. So all you have to do is to stopPropagation of the onPointerDown event https://github.com/tailwindlabs/headlessui/releases/tag/%40headlessui%2Freact%40v2.2.3 |
Beta Was this translation helpful? Give feedback.
I found the answer. The ListboxOptions opens onPointerDown event and not onClick. So all you have to do is to stopPropagation of the onPointerDown event
https://github.com/tailwindlabs/headlessui/releases/tag/%40headlessui%2Freact%40v2.2.3