flowbite icon indicating copy to clipboard operation
flowbite copied to clipboard

Check if all instances are initialised

Open Lexachoc opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. When I open/refresh a page and click a button to open a modal, sometimes the modal doesn't open if I click the button too quickly. But after a few seconds, the modal can be opened by clicking again.

Describe the solution you'd like So I want to add a skeleton or spinner overlay to the page and hide it as long as all flowbite instances are finished.

I would like to have a function e.g., isFlowbiteInstances or shortly isFlowbite to check if all flowbite instances are finished and ready to use. Or other ways to check the status of the initialisation (if better).

Thank you!

Lexachoc avatar Feb 22 '24 04:02 Lexachoc