You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem when you have a popover, or tooltip or dropdown on a div container that has a scrollbar. When there is a scrollbar the popover is limited to the container boundaries and cannot be positioned correctly. If the scrollbar is removed the popover works as expected.
It seems the problem is with the preventOverflow Popper setting. I guess we cannot change that property to something else by default, but we should have a way to provide our own values to workaround this issue.
Thank you.
The text was updated successfully, but these errors were encountered:
Setting the boundary option to viewport fixes the problem.
Your directive looks then like this: v-b-popover.hover.right.viewport="'I am popover content!'"
There is a problem when you have a popover, or tooltip or dropdown on a div container that has a scrollbar. When there is a scrollbar the popover is limited to the container boundaries and cannot be positioned correctly. If the scrollbar is removed the popover works as expected.
Here is a jsfiddle demonstrating the problem: https://jsfiddle.net/tochoromero/xxd8uLmf/
Now this is a problem with popper.js, here is a reference:
floating-ui/floating-ui#248
It seems the problem is with the
preventOverflow
Popper setting. I guess we cannot change that property to something else by default, but we should have a way to provide our own values to workaround this issue.Thank you.
The text was updated successfully, but these errors were encountered: