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

fix(runtime-dom): event handlers with modifiers should get all event arguments #1193

Merged
merged 1 commit into from
May 18, 2020

Conversation

nekosaur
Copy link
Contributor

Current Vue 3 behaviour: https://codepen.io/nekosaur/pen/dyYqgyZ

Regular event handler sends all arguments, but with modifier it only sends first one (event). This seems inconsistent.

Scenario is if one would like to enable the use of modifiers and short template syntax while sending custom event values.

See vuejs/vue#10867, vuejs/vue#10958, vuetifyjs/vuetify#9720

@yyx990803 yyx990803 merged commit ab86b19 into vuejs:master May 18, 2020
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

Successfully merging this pull request may close these issues.

2 participants