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

Make the event trigger at the event capture stage #16

Closed
YogiWu opened this issue Apr 4, 2019 · 3 comments
Closed

Make the event trigger at the event capture stage #16

YogiWu opened this issue Apr 4, 2019 · 3 comments

Comments

@YogiWu
Copy link

YogiWu commented Apr 4, 2019

I noticed that the handle function is triggered at the event bubble stage.However, it would not be triggered when the click event handle by the function with 'event.stopPropagation()'.So, I think trigger the handle at the event capture will be better.

@WORMSS
Copy link

WORMSS commented Nov 27, 2019

Could always add a modifier so it becomes

v-click-outside.capture="hide"

@YogiWu
Copy link
Author

YogiWu commented Dec 3, 2019

I may try it again, thank you

@YogiWu YogiWu closed this as completed Dec 3, 2019
@WORMSS
Copy link

WORMSS commented Dec 3, 2019

#10

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

No branches or pull requests

2 participants