Skip to content

Conversation

@sophiebits
Copy link
Collaborator

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
Collaborator 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