dillon1000/react
Commit
Browse files Fixing touch/mouse issues with TapEventPlugin
On ios device, browser simulates mouse events, but does that with a delay, because of double tap gesture. The problem is that TapEventPlugins listens to both types of events, so it fires twice Everytime there is a touch event, we should ignore mouse events that follow it. This way, we still respond to both mouse and touch events, just ignore the device generated ones.
Changed paths1 file
First-parent comparisonsrc/browser/eventPlugins/TapEventPlugin.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…