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

[Flare] Move click handling back into target phase #15993

Merged
merged 1 commit into from
Jun 26, 2019

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented Jun 26, 2019

When dealing with click handling, specifcally preventing the browser default, we should do this in the onEvent callback rather than onRootEvent. This is to allow for cases where we may have removed the root event listeners (due to cancellation) but want to preserve the ability to continue to block the browser native behaviour.

@sizebot
Copy link

sizebot commented Jun 26, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS

@trueadm trueadm merged commit dd93357 into facebook:master Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants