-
Notifications
You must be signed in to change notification settings - Fork 586
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
Suggestions list stuck open after dragging a suggestion outside of the autosuggest #412
Comments
Having read mui/material-ui#7526, it's not clear to me what the issue is. Could you please list the steps to reproduce the issue? |
After you drag the suggestion, the focus is no longer on the input. |
@moroshko I don't think that the issue is with the keybinding, but rather with an opened suggestion list. Focusing and blurring the input will no longer close the suggestions. |
I'm experiencing the same behavior after the click hold and mouse-out, where the suggestions will no longer close. Did anyone figure out a work around? |
Yep, it's a bug. In case anyone would like to contribute a PR, here are the steps to reproduce it:
Observed behavior: The input loses focus, causing the suggestions to be stuck in a visible state (clicking outside of the autosuggest doesn't close the suggestions). Expected behavior: The input keeps focus. Clicking outside of the autosuggest closes the suggestions. See Google's autosuggest as an example. |
This code separates the blurring of the input box from the hiding of the container
I'm still trying to figure out a fix for this, but this is the cause I believe. |
Have anyone fix this issues? could you share how to fix this issues? |
Was this issue resolved? I am still experiencing this issue on version 10.1.0 |
Issue from here: mui/material-ui#7526
The text was updated successfully, but these errors were encountered: