Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone, I am trying to use this library for a tooltip, but have trouble with the tooltip position.
I use Vue composition and
floating-ui/vue
lib.For some reason, when I use
v-show
the tooltip element position is not correct.My example:
But the tooltip's position is not centered on my
reference
div.If I pass the
autoUpdate
utility to thewhileElementsMounted
prop the tooltip will be in the correct position.But this tooltip's position changes on
autoUpdate
utility. The start-mounted position is not correct.And if I use
v-if
instead ofv-show
the tooltip position is correct. What is wrong withv-show
?Beta Was this translation helpful? Give feedback.
All reactions