dillon1000/react

Commit

Fix Clicks in Mobile Safari

This works around a bug with listening to clicks using event delegation on Mobile Safari using an event plugin.

NOTE: We don't enable touch events by default, so I don't know if would want to inject this plugin by default. In fact, I'm not sure what our strategy is at all for when to invoke `React.useTouchEvents(true)`.
Browse files
Changed paths3 files
First-parent comparison
M src/core/ReactDefaultInjection.js ModifiedM src/eventPlugins/DefaultEventPluginOrder.js ModifiedA src/eventPlugins/MobileSafariClickEventPlugin.js Added
Patch

Files changed

Rendering syntax-highlighted changes…