Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

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

Merged
joallard merged 1 commit into
selectize:masterfrom
hupf:master
Dec 6, 2016
Merged

joallard merged 1 commit into
selectize:masterfrom
hupf:master

Conversation

@hupf

@hupf hupf commented Dec 5, 2016

Copy link
Copy Markdown
Contributor

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

hupf commented Dec 5, 2016

Copy link
Copy Markdown
Contributor Author

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

@hupf

hupf commented Dec 6, 2016

Copy link
Copy Markdown
Contributor Author

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

@joallard

joallard commented Dec 6, 2016

Copy link
Copy Markdown
Member

We'll try that, thanks!

@joallard
joallard merged commit 0c6fafc into selectize:master Dec 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants