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

Make controlled components and bubbling work in IE #721

Merged
merged 1 commit into from
Jan 4, 2014

Conversation

sophiebits
Copy link
Contributor

Fixes #708.

Test Plan:
In IE9, tested a controlled text input with the event handler on a containing element, as in the fiddle linked in the original issue. Also tested a controlled radio button as the logic there differs within ReactDOMInput. In both cases, I was able to interact with the controls.

The IE events aren't currently covered by unit tests and it's not easy to add them, but I'm comfortable merging this without automated tests; this merely brings the batching behavior here in line with our other event handling.

Fixes facebook#708.

Test Plan:
In IE9, tested a controlled text input with the event handler on a containing element, as in the fiddle linked in the original issue. Also tested a controlled radio button as the logic there differs within ReactDOMInput. In both cases, I was able to interact with the controls.
@vjeux
Copy link
Contributor

vjeux commented Dec 28, 2013

Do you know who should review this diff?

@sophiebits
Copy link
Contributor Author

Probably yungsters or whoever wrote fb6381f (I can't remember who).

@yungsters
Copy link
Contributor

@paulshen wrote fb6381f, but this looks good to me. Thanks for tracking it down.

yungsters added a commit that referenced this pull request Jan 4, 2014
Make controlled components and bubbling work in IE
@yungsters yungsters merged commit c11d6d7 into facebook:master Jan 4, 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.

Change event bubbling doesn't work with controlled components in IE
3 participants