We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
@click.prevent
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.
@click.prevent.self
The text was updated successfully, but these errors were encountered:
try @click.self.prevent
@click.self.prevent
Sorry, something went wrong.
you have to add self before the prevent as @JounQin said
I'm creating a PR for the docs. Thanks for the feedback 🙂
No branches or pull requests
Version
2.3.3
Reproduction link
https://jsfiddle.net/50wL7mdz/39994/
Steps to reproduce
What is expected?
The element with
@click.prevent
will be prevented, child elements with default actions shouldn't be prevented.What is actually happening?
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.The text was updated successfully, but these errors were encountered: