themesberg / themesberg/flowbite
Check if all instances are initialised
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 9.4k
- Forks
- 862
- PR merge metrics
- No merged PRs in 30d
Description
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!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by tracing how Flowbite instances are initialized and how the modal button is wired, then determine a reliable readiness signal for the requested overlay; done means users can detect when all instances are ready and open the modal immediately afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, tailwindcss, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100