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

onChange on text input with placeholder fires without modifications in Internet Explorer #112

Closed
edmellum opened this issue Feb 2, 2017 · 2 comments

Comments

@edmellum
Copy link

edmellum commented Feb 2, 2017

Using IE 11 if one has a textarea component with a placeholder attribute and an onInput handler, the onInput handler will be called when clicking the textarea without typing anything in it, just clicking it. This seems to also happen when changing the placeholder. It looks to be a known issue that Microsoft is unwilling to fix.

I've previously made an issue on React to fix the same thing, which got fixed by this PR.

@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@evancz
Copy link
Member

evancz commented Jul 7, 2017

None of the links provided describe why this can become a problem in practice, so with the current information, it seems like a relatively harmless bug. It is also one that appears to be addressed in future releases of IE.

So given my current understanding, I do not think it makes sense to add special cases to this library. Having a bunch of code to normalize browser behavior can get out of hand, and this seems like a relatively weak reason to start doing it.

@evancz evancz closed this as completed Jul 7, 2017
This issue was closed.
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

No branches or pull requests

3 participants