Positioning tooltip content directly above trigger #1724
Unanswered
codepath2019
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I'm happy to help. Could you please provide an example repository (Stackblitz etc)? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am looking for a way to
position the tooltip content over the trigger element
? Given the following example, I've tried a few configurations, but so far to no avail. Is it possible to do this in a clean way using ark's tooltip positioning api? I dug around the source code and found the getPlacement function fromzag-js utilities
. In particular, I see that it computes the transform values for--x
and--y
from a package called@floating-ui/dom
. I believe that if I can understand how these two values are computed, then I may get the answer to my original question.Beta Was this translation helpful? Give feedback.
All reactions