flowbite
flowbite copied to clipboard
InitFlowbite destroys opened modals
If a modal is already opened and while it is open initFlowbite() is called then the modal instance is resetted/removed and the backdrop disappears. You can try it by just adding
setTimeout(() => {
initFlowbite();
}, 5000);
and open a modal before 5 seconds. You will see that the backdrop disappears.
This happens also when using flowbite with HTMX. Can you look into this PR? #824