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

support touch start, etc? #5

Open
jonathanong opened this issue Feb 26, 2016 · 3 comments
Open

support touch start, etc? #5

jonathanong opened this issue Feb 26, 2016 · 3 comments

Comments

@jonathanong
Copy link
Contributor

maybe as an option.

idea is if you're on mobile and you click outside an open dropdown, the dropdown should close ASAP.

@tj
Copy link
Owner

tj commented Feb 26, 2016

doesn't matter to me, not something I need ATM but hey

@andrejunges
Copy link

if somebody ends up here with problems on mobile devices you may try the workaround discussed here kentor/react-click-outside#4.

Basically you just need to add cursor: pointer on <body>.

It worked for me on iPad.

@daviddelusenet
Copy link

@andrejunges this might work with click events but not with touchstart/touchmove etc 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants