2.3.3
https://jsfiddle.net/50wL7mdz/39994/
The element with @click.prevent
will be prevented, child elements with default actions shouldn't be prevented.
The element with @click.prevent
is prevented, child elements with default actions prevented too.
I want to use elements with default actions inside a parent element that uses @click.prevent
. @click.prevent.self
doesn't help either.
try @click.self.prevent
you have to add self before the prevent as @JounQin said
I'm creating a PR for the docs. Thanks for the feedback 🙂
Most helpful comment
try
@click.self.prevent