Horizontal offset #448
-
Hello. I'm trying to add offset for the tooltip on X axis. I tried to achieve it using directive's |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I'm also interested on how to set a horizontal offset to a popover. I have a popover on the right side of a navbar and I would translate the "popover-inner" some px to the left to prevent it from falling under the navigation bar. Unfortunately I don't understand how to do it. |
Beta Was this translation helpful? Give feedback.
-
@billmn while there's no fix for this issue, I temporarily solved it by creating an additional span and moving it around as I want. Hope that helps you as well! |
Beta Was this translation helpful? Give feedback.
-
@dmbaranov I did something similar as a workaround too. Thank you for the suggestion |
Beta Was this translation helpful? Give feedback.
-
it is possible to do this, however v-tooltip implements it a bit differently than Popper.js does under the hood. You can provide a comma separated string as the offset in an
Should go 100px left, 20px down |
Beta Was this translation helpful? Give feedback.
it is possible to do this, however v-tooltip implements it a bit differently than Popper.js does under the hood.
You can provide a comma separated string as the offset in an
x,y
format:offset="'100, 20'"
Should go 100px left, 20px down