Behavioural difference when using v-on on SFCs and HTML elements, on Vapor mode vs Virtual DOM #13828
-
So normally (non-Vapor mode) when using But on Vapor mode, modifiers attached to So my question is that in this case, should Vapor mode try to mimic the behaviour of non-Vapor mode Vue? Even though it's not documented, as noted by the - Playground link (With EDIT: Added clarification for the playground URLs with fix |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Closed, as this PR (#13053) does show that component events are allowed to "fallthrough" (But seems like that PR doesn't directly fix this issue yet?) |
Beta Was this translation helpful? Give feedback.
-
see #13382 |
Beta Was this translation helpful? Give feedback.
Yes,
<Foo @click.middle="console.log('Middle-clicked <Foo>')" />
needs to be supported. Vapor will align its behavior with vdom components. I don't think it's necessary to open a new issue, as we already know #13053 fixed it. It's also documented in the vapor roadmap: #13687.