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

onClickOutside gets triggered if used multi-root components #4248

Closed
7 tasks done
fanckush opened this issue Sep 24, 2024 · 0 comments · Fixed by #4313
Closed
7 tasks done

onClickOutside gets triggered if used multi-root components #4248

fanckush opened this issue Sep 24, 2024 · 0 comments · Fixed by #4313

Comments

@fanckush
Copy link

Describe the bug

if use onClickOutside on a component that has more than root node, the trigger handler will always trigger even if you click on the it

Reproduction

https://stackblitz.com/edit/vitejs-vite-cnufod?file=src%2FApp.vue

System Info

n/a

Used Package Manager

npm

Validations

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

Successfully merging a pull request may close this issue.

1 participant