flowbite icon indicating copy to clipboard operation
flowbite copied to clipboard

InitFlowbite destroys opened modals

Open eugeniugrigoras opened this issue 9 months ago • 0 comments

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

eugeniugrigoras avatar Feb 25 '25 17:02 eugeniugrigoras