themesberg / themesberg/flowbite
Bug Report - Multiple Instances of Search Popup Triggered by 'Ctrl + K'
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 9.4k
- Forks
- 862
- PR merge metrics
- No merged PRs in 30d
Description
Hi Flowbite Team,
I encountered a minor issue with your website's search popup feature. When using the 'Ctrl + K' keyboard shortcut to open the search popup, multiple instances of the popup can appear if the shortcut is pressed more than once in quick succession. While this doesn’t happen every single time, it happens intermittently and leads to multiple popups being displayed simultaneously.
The expected behavior would be for only one popup to appear at a time, and for repeated 'Ctrl + K' presses to either focus the existing popup or close it.
I hope this feedback helps! Feel free to let me know if you need any additional information to reproduce or resolve the issue.
Best regards,
Maruf Hossen
The same element appears twice.
After applying some styles
Desktop:
- OS: Windows 11
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
Start by locating the website's search popup and the Ctrl+K keyboard shortcut handler in the Flowbite repository. Reproduce the issue by pressing the shortcut repeatedly in quick succession on Windows 11, then verify that only one popup remains visible and that repeated presses focus or close it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, tailwindcss
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100