-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - Autocomplete is not focused on click #2962
Comments
"When the
This can be very confusing for users as they may continue to type without realizing that the menu has opened and the focus has been lost, resulting in the words not being typed. |
Has anyone come up with a solution for this, its still reproducing on my end. The input looses focus as soon as the menu opens up. |
@shoaibarif668 I'll wrap up the fix by today and will be released afterwards. |
@wingkwong Hi, friend. any news on this? I have the same problem :( |
It's already fixed, it will merge |
I am still seeing this issue using a brand new project with |
@kevinvincent I couldn't reproduce the issue. autocomplete-focus-demo.webm |
Had to upload the video as a zip due to size: This is from a completely new project with I also saw the same behavior in Chrome, the demo uses Safari though. Interestingly, it works fine on https://nextui.org/docs/components/autocomplete for me! |
Hmm this seems to have magically fixed itself? Maybe this was some weird local next js / browser caching or something? |
NextUI Version
2.3.6
Describe the bug
When I click on autocomplete, it is not focused. It requires another click. Also click-outside event closes the menu but keeps the focus.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Expected behavior
Screenshots or Videos
Screen.Recording.2024-05-07.at.23.45.51.mov
Operating System Version
macos
Browser
Chrome
The text was updated successfully, but these errors were encountered: