themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS
https://flowbite.com
MIT License
7.98k stars 746 forks source link

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

Open maruf-hossen-5566 opened 1 month ago

maruf-hossen-5566 commented 1 month ago

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: