Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes a nasty bug that breaks preventDefault
calling preventDefault on the event received in onTap is currently broken on iOS. This fixes that.
- Loading branch information
a822fe9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JedWatson this is because of event pooling and calling onTap synchronously (or calling e.persist()) also fixes this problem.
See facebook/react#3657 (comment)
I opened my initial PR because of this issue
a822fe9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see also facebook/react#4514