-
-
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
Chrome autofill triggers keyup event on render/load #9441
Chrome autofill triggers keyup event on render/load #9441
Comments
Can't reproduce on my side...What's your Chrome version? |
Confirming on Chrome 72 win10 |
Using chrome 72.0.3626.81, however I'm also getting the trigger when I select/focus on the input in chrome 71 |
I have the same issue with a keyup event. I didn't have the issue with 2.5.22 version. The issue is just with chrome, my current chrome version is: 72.0.3626.96 (64 bits) on windows 10. I dont have the issue with firefox. |
keyup was auto logging-in, when the browser filled the password field... that is bad: vuejs/vue#9441
I can confirm the issue too on keyup and keydown. Exists in Vue 2.6.3 and the latest 2.6.5. |
I have the same issue |
@yyx990803 Thanks Evan for this fix. Just updated Vue to 2.6.6 and it had fixed the issue but I noticed that autocomplete feature still triggers @keydown.esc="onEsc" event modifier (only with EDIT: Apparently it was something weird on my side. So nothing to do. |
Thanks a lot. Keep up awsome work |
I'm currently experiencing this problem with VueJS 2.6.12 on Chrome 89. Both KeyUp & KeyDown will fire on Chrome's autofill of email & password inputs. KeyPress, thankfully, does not. |
Version
2.6.2
Reproduction link
https://codepen.io/anon/pen/jdGjZx
Steps to reproduce
What is expected?
The autofill won't trigger the event listeners (worked in 2.5.22)
What is actually happening?
chrome autofill triggers the event listeners on render/load
The text was updated successfully, but these errors were encountered: