themesberg / themesberg/flowbite

Bug Report - Multiple Instances of Search Popup Triggered by 'Ctrl + K'

Open
#985 0 comments 0 reactions 0 assignees View on GitHub

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


(2)Screenshot 2024-10-22 134740
The same element appears twice.

(3)Screenshot 2024-10-22 135309
After applying some styles

Desktop:

  • OS: Windows 11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.