You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the PopOver from @rgossiaux/svelte-headlessui ala this searchable values popup youtube video: https://www.youtube.com/watch?v=BgWrVZ2hzAU
The on:click to select the matched items via table rows is not working for me because I am hosting the popover inside a flowbite Modal component.
I debugged and tracked it down to the tabIndex="-1" on the root div rendered by Modal.svelte.
Sorry I dont understand why but it's the single thing that causes the on:click to fire or not fire.
With the tabIndex="-1", my on:clicks on my s are ignored. With it removed, we are all good.
Happy to supply a PR to make the tabIndex element optional via a prop but would like a steer on most acceptable approach ? For now, I have forked Modal.svelte into my project and use it with that single attribute removed.
Describe the bug
I am using the PopOver from @rgossiaux/svelte-headlessui ala this searchable values popup youtube video: https://www.youtube.com/watch?v=BgWrVZ2hzAU
The on:click to select the matched items via table rows is not working for me because I am hosting the popover inside a flowbite Modal component.
I debugged and tracked it down to the tabIndex="-1" on the root div rendered by Modal.svelte.
Sorry I dont understand why but it's the single thing that causes the on:click to fire or not fire.
With the tabIndex="-1", my on:clicks on my s are ignored. With it removed, we are all good.
Happy to supply a PR to make the tabIndex element optional via a prop but would like a steer on most acceptable approach ? For now, I have forked Modal.svelte into my project and use it with that single attribute removed.
Reproduction
Stackblitz template is 404 not found.
Flowbite version and System Info
The text was updated successfully, but these errors were encountered: