-
-
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
In IE 11 the first input event on a text input is blocked if placeholder is set and the model is initialised #9383
Labels
Comments
Related to #7138 |
13 tasks
This was referenced Aug 29, 2019
This was referenced Sep 22, 2019
Lostlover
pushed a commit
to Lostlover/vue
that referenced
this issue
Dec 10, 2019
…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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.5.22
Reproduction link
https://jsbin.com/dobagokure/1/edit?html,js,output
Steps to reproduce
Open https://jsbin.com/dobagokure/1/edit?html,js,output in IE 11.
Enter a single character in the text input just after 'Hello Vue!'
Model will not be updated on the first character input but will be on subsequent inputs
*Note to reproduce a second time you will need to refresh the page.
What is expected?
When a single character is entered the model should update
What is actually happening?
The input event is blocked and the model does not update until a second character is entered.
I believe it could be related to a previous fix for an issue that IE11 is firing an input event when the placeholder is set:
lovelope@15e8fa5
Perhaps it should check if the value is set first before blocking the initial event?
Many Thanks,
Declan
The text was updated successfully, but these errors were encountered: