react-select: Cannot select menu items on mobile

I got on a bug preventing me from selecting any menu items on mobile only. Turns out, selecting an item would trigger handleInputFocus with Select-input as target.

Removing the call to renderInput for non-searchable select fixed it.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 5
  • Comments: 23 (1 by maintainers)

Commits related to this issue

Most upvoted comments

Fast click has a disable hook, add needsclick class to option element https://github.com/ftlabs/fastclick#ignore-certain-elements-with-needsclick

@vitaminwater thanks so much for the help! It turned out to be a Fastclick issue, I had two installed at once (Meteor & React Fastclick) which somehow cancelled each other out.

react select is still not work on iPhone. I use latest version of react-select

I don’t know, but I cannot select even on desktop right now (Chrome/macOS)

@alexeykozlov07 / @JedWatson add optionClassName="needsclick" worked for me (thx @idanwe )

@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.