-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tap): Prevent different input focus after 300ms delay
If a text input is located in the same area as a button which was just tapped, which was probably because of a view transition, the text input gets focus 300ms later. This is an issue on Android because it also fires off a mousedown event. Resolved by remembering the touchend target then checking if it’s different from the mousedown target. Closes #1370
- Loading branch information
Adam Bradley
committed
May 8, 2014
1 parent
0325b87
commit 8730e62
Showing
2 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters