Programmatically open popover next to an element [Dynamic target element] #708
Replies: 2 comments
-
You can use container property of the v-popover like this container="#targetElement". Example
|
Beta Was this translation helpful? Give feedback.
-
This does not work for me... When I add the props container="#targetElement" the Popper is being appended to the #targetElement, but the position is still being evaluated based on the trigger element. Looking to the source code, https://github.com/Akryum/v-tooltip/blob/v2.1.3/src/components/Popover.vue#L396 Any ideas @Zulqarnain-Haider @Akryum? Here is my not working example |
Beta Was this translation helpful? Give feedback.
-
Hey,
Is it possible to have a single Popover element that will be programmatically positioned next to a target element?
Could not find an example while reading the documentation nor the issues
Beta Was this translation helpful? Give feedback.
All reactions