Skip to content

Can not prevent click transmitted to the outside #9312

Closed Answered by yanghoxom
yanghoxom asked this question in Help/Questions
Discussion options

You must be logged in to vote

@posva thank you for reply
another people gave me this link https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html

I think using it emits: ['click'] makes more sense than having to use .capture or block inheritAttrs
and I think it's a more reasonable explanation that after moving to v3, events are automatically propagated out.

Replies: 1 comment 6 replies

Comment options

@posva
Comment options

posva Sep 28, 2023
Collaborator

@yanghoxom
Comment options

@posva
Comment options

posva Sep 28, 2023
Collaborator

@yanghoxom
Comment options

Answer selected by yanghoxom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #9310 on September 28, 2023 10:08.