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

Fix tab key regression introduced by touch handling #1164 #1215

Merged
merged 1 commit into from
Dec 6, 2016

Conversation

hupf
Copy link
Contributor

@hupf hupf commented Dec 5, 2016

Unfortunately You Can't Detect A Touchscreen but we can escape the call stack (using setTimeout) before bluring. That allows the default tab key action to take place first.

I've tested it in Firefox and Chrome (Desktop and Android) -- I was able to reproduce #1127 on Android too, but I don't have an iOS device at hand...

@hupf
Copy link
Contributor Author

hupf commented Dec 5, 2016

Was able to test it on an iOS device as well, it works fine.

@hupf
Copy link
Contributor Author

hupf commented Dec 6, 2016

@joallard This is the solution I came up with...

@joallard
Copy link
Member

joallard commented Dec 6, 2016

We'll try that, thanks!

@joallard joallard merged commit 0c6fafc into selectize:master Dec 6, 2016
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

Successfully merging this pull request may close these issues.

2 participants