-
Notifications
You must be signed in to change notification settings - Fork 4.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
closeMenuOnSelect=false doesn't work on mobile chrome #2771
Comments
I tested out the |
After some playing around, I found that setting |
This helps me. I am using [email protected]^. I had an issue in mobile multi-select drop-down. Every time I use to select one item it closes. But in desktop it was working properly. Now after using this method. It is working fantastic. |
FYI; If anyone is looking for solution to this, this is still broken in 3.0.8. Adding |
Hi all, Thank you everyone who had a part in addressing this question. In an effort to sustain the However, if you feel this issue is still relevant and you'd like us to review it, or have any suggestions regarding this going forward - please leave a comment and we'll do our best to get back to you! |
It would be nice to address this even though the workaround by @Tecktron works just fine. I've spent a bit of time searching as why it didn't work on mobile, before I came accross this issue. There are also probably some people who didn't even test it and just assumed it worked on mobile, and are still not aware of the bug. If this can't be implemented, we could at least update the docs with this workaround |
Looks like this is a bug in react-select. closeMenuOnSelect={false} should do this. But adding blurInputOnSelect is the workaround I guess. JedWatson/react-select#2771
Are you reporting a bug or runtime error?
Bug
https://codesandbox.io/s/z6xlovo34?module=/example.js
I'm not sure if this is intended or not, but the menu doesn't stay open when I use it on my mobile phone.
Android, Chrome mobile.
Thank you for this great component, let me know what I can do to help.
The text was updated successfully, but these errors were encountered: