-
Notifications
You must be signed in to change notification settings - Fork 342
Labels
Description
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.
mammuth
Metadata
Metadata
Assignees
Labels
Projects
Milestone
Relationships
Development
Select code repository
Activity
genu commentedon Oct 15, 2019
Possible to get a PR for this?
[-]Fixing Shadow DOM[/-][+]Support Shadow DOM[/+]digitalkaoz commentedon May 27, 2021
having the same problem here.
Using
container : 'body'
wont work correctly as the styles reside inside the shadow dom and having no effect for something outside of the shadow domUsing
container: false
wont work correctly, the styles are applied, tooltips show, but wont hide.any chance we get this working correctly in web components?
Rigidoont commentedon Dec 20, 2021
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
container
option so that the container could be resolved dynamically.pythonking2907 commentedon Jan 14, 2022
@@ -1,3 +1,17 @@
3.0.0-beta.20 (2022-01-13)
Bug Fixes
Features
3.0.0-beta.19 (2022-01-13)