-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
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
[TextField] On IE, the browser-specific X to clear the text field's contents does not trigger onChange events. #4928
Comments
Are you also able to reproduce this issue with a raw |
Initially, no. Using the same code as the Controlled Example but with a raw However, I noticed that the component was not being re-rendered when clicking the X and then clicking outside of the I then added |
Sounds like an issue with React itself: facebook/react#6822. |
@codeheroics Have a look at #5055. |
Ack, should have been more thorough in my search. Thanks @oliviertassinari |
The issue was fixed by React facebook/react#8575. We can close :). |
Problem description
On Internet Explorer, a black X shown on the right end of a TextField component if there is some text present. Clicking on this X is supposed to clear the contents of the text field.
On a controlled TextField component, clicking on this X does not fire an onChange event. The text will disappear after clicking it, but clicking elsewhere causes the old value to reappear.
For uncontrolled TextField components, the component behaves normally.
Steps to reproduce
Versions
The text was updated successfully, but these errors were encountered: