-
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
Cannot select menu items on mobile #1036
Comments
Also having this same issue, though only on iOS devices - both Chrome and Safari. Works fine on Android phones. |
Same bug here. Have to hold the item on mobile for it to work, pretty annoying! |
@vitaminwater Can you explain what you did when you said
|
@adamwan92 I got it to work by changing something in there code, did not make a pull request because of lack of time, and because I don't really know if I'm not breaking anything else. Maybe @JedWatson got what I was talking about ? Interested in a PR for this ? |
@vitaminwater A PR or even a copy paste of the code that you changed would help very much! It's weird cause running the demo (jedwatson.github.io/react-select) works very well on mobile. |
@adamwan92 ok thats' really dirty for now: in But honestly I can't really encourage you to do this, the change will be lost as soon as you update the package. |
@vitaminwater thanks so much for the help! |
Same problem here, is there a PR already? If not I can create one. Not sure if the fix by @vitaminwater is good enough |
I don't know, but I cannot select even on desktop right now (Chrome/macOS) |
Fast click has a disable hook, add |
Any update on this? @peterkuiper did you get a PR ready? |
@mpigsley Well, at the time we decided to go with a different solution and currently we have rolled on our solution for it. Looking at the open issues and the open PRs, I assume the author is having quite a big backlog. So sorry, no, I did not get a PR ready. |
I'm pretty confident this has been addressed in the latest version, if anyone can still reproduce it please let me know with steps explaining how. Thanks! |
react select is still not work on iPhone. I use latest version of react-select |
@JedWatson |
@alexeykozlov07 / @JedWatson add |
…ter's solution
For me in react-select v.2.4.0 it works, the issue might have been a conflict due to having react-select-simplevalue included as well. |
Make sure not to use a button in your option Component if you want the handleChange to be triggered when selecting an option. |
Using Firefox 67.0.4, with iPhone 6/7/8 Plus simulator, I can't use the examples on https://react-select.com/home with the mouse. Whenever I hover the dropdown elements the menu closes |
what can i do?, it seems don't support optionClassName property |
@MrYou0 @florentdestremau same as you guys |
It seems like
|
optionClassName seems to work in latest versions, but this should not be needed. |
I got on a bug preventing me from selecting any menu items on mobile only.
Turns out, selecting an item would trigger
handleInputFocus
withSelect-input
as target.Removing the call to
renderInput
for non-searchable select fixed it.The text was updated successfully, but these errors were encountered: