-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
IE11 fires "input" event on textarea if a placeholder is set #7138
Comments
Unfortunately, this is an IE bug (https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/101220/). IE shouldn't fire an input event I thought we already closed an issue with this but I couldn't find it, must be my imagination 😄 |
Found this on the old bug tracker and last comment from MS: no fix |
Note: I assume you want to preserve the |
thanks! |
…9297) - the original bug in vuejs#7138 only happens for `<textarea>` - the bug doesn't happen if placeholder has empty value fix vuejs#9042, fix vuejs#9383
Version
2.5.8
Reproduction link
https://jsfiddle.net/50wL7mdz/79205/
Steps to reproduce
Opening the page in IE11 will display the message "Foo is no longer null".
In modern FF, Chrome and Edge the message does not show up and foo remains null until the user actually inputs something.
IE11 does not fire an input event if no placeholder is set as show with the second textarea.
What is expected?
No input event should fire and thus foo should remain null
What is actually happening?
IE fires an input event if the textarea has a placeholder
There was a similar issue in angular angular/angular.js#2614
The text was updated successfully, but these errors were encountered: