dillon1000/react
Commit
Browse files Attach empty onclick listener to each node
Fixes #1169. This is a more robust way of fixing what MobileSafariClickPlugin previously tried to. Now even if you don't want anything to do with touch events, click events still work properly. Test Plan: Added a click handler to an `<img />` element and triggered it in the iOS simulator -- it didn't execute before.
Changed paths6 files
First-parent comparisonsrc/browser/eventPlugins/DefaultEventPluginOrder.js ModifiedD src/browser/eventPlugins/MobileSafariClickEventPlugin.js DeletedM src/browser/eventPlugins/SimpleEventPlugin.js ModifiedM src/browser/ui/ReactDefaultInjection.js ModifiedM src/browser/ui/__tests__/ReactDOMComponent-test.js ModifiedM src/event/EventPluginHub.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…