Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event plugin addons with fix to make sure touch events are enabled #1621

Closed
wants to merge 1 commit into from

Conversation

ryanseddon
Copy link
Contributor

This includes #1170 changes and fixes #1619

If I'm opting into React.addons.injectTapEventPlugin() it should be implied that I want touch events enabled. So I just call React.initializeTouchEvents(true) in TapEventPlugin.js.

Created a testcase with a custom build based on this PR that works as expected.

@sophiebits
Copy link
Collaborator

(After #1254 is fixed we shouldn't need initializeTouchEvents at all…)

@ryanseddon
Copy link
Contributor Author

Ah cool then I guess this one can be closed then as it won't be needed on top of what #1170 has.

@ryanseddon ryanseddon closed this Jun 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TapEventPlugin dependencies are calculated at module loading time
2 participants