-
Notifications
You must be signed in to change notification settings - Fork 340
Support Shadow DOM #346
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Possible to get a PR for this? |
having the same problem here. Using Using any chance we get this working correctly in web components? |
In v3.0 there is no problem with popover not closing itself. However, it’s still not possible to specify exact element inside the Shadow DOM that the popover should be appended to. I made a pull request to allow providing a callback to the |
@@ -1,3 +1,17 @@ 3.0.0-beta.20 (2022-01-13)Bug Fixes
Features
3.0.0-beta.19 (2022-01-13) |
If Popover.vue#L685 be:
const contains = popover.$refs.popover.contains(event.composedPath()[0])
It will runs inside Shadow DOM.
Now, inside shadow dom the popover window closes when click on it.
The text was updated successfully, but these errors were encountered: