Skip to content
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

Component not working on iOS 7 #24

Closed
chrtze opened this issue Dec 8, 2014 · 6 comments
Closed

Component not working on iOS 7 #24

chrtze opened this issue Dec 8, 2014 · 6 comments
Labels
issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet

Comments

@chrtze
Copy link

chrtze commented Dec 8, 2014

The select is not responding at all on iOS 7 (tested on iPad Air 1).

I will let you know if I find a fix for that.

@chrtze
Copy link
Author

chrtze commented Dec 8, 2014

Maybe because you are using onMouseDown ? I have tried onClick instead, but with no success

@JedWatson
Copy link
Owner

That's odd, mouse events are usually emulated by Safari on iOS (even with a delay). I'll look into it.

@fraserxu
Copy link
Contributor

Same issue here. I tested on both iOS 7 and iOS 8 Safari + Chrome, doesn't work.

@fraserxu
Copy link
Contributor

I checked the documentation here http://facebook.github.io/react/docs/events.html and tried with onTouchEnd instead of onMouseDown, it works on iPad but not on Desktop.

So I add both events and trigger the same action and it works for me now.

PS: I'm using this on a project which need to work on mobile device and hope this could be fixed.

@fraserxu
Copy link
Contributor

Hi @JedWatson I created a pull request to make it work on touch devices.

I use both onClick and onTouchEnd in different places because they have different behaviors. Hope this would be help.

@dcousens
Copy link
Collaborator

dcousens commented May 7, 2015

Is this still the case? Will close in 24 hours otherwise.

@dcousens dcousens added the issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet label May 7, 2015
@dcousens dcousens self-assigned this May 7, 2015
@dcousens dcousens removed their assignment Aug 13, 2015
Methuselah96 added a commit to Methuselah96/react-select that referenced this issue Nov 22, 2020
* Use OSS version of react-input-autosize

* Create fluffy-beans-cry.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet
Projects
None yet
Development

No branches or pull requests

4 participants