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
Hi, I am using vx for a project and spent several hours trying to correctly position a tooltip. In the sandbox provided in the docs its says that withTooltip wraps the component in a <div style="position: relative" />.
I think we should also manually do this for FunctionalComponents when using useTooltip (this is how I solved my positioning issue). If this is the case, can you please add a clear explanation to the docs?
Thank you for your amazing work!
The text was updated successfully, but these errors were encountered:
@ahmetuysal 👋 , thanks for checking out vx. Ah yes, this is nuanced and should probably be added to get people going more quickly. I'd like to add a tooltip-only demo soon for the v1 release, in the meantime we could probably add this to the readme to get most of the way there?
PRs, welcome, otherwise I'll probably add it when adding a tooltip demo 👍
Hi, I am using vx for a project and spent several hours trying to correctly position a tooltip. In the sandbox provided in the docs its says that
withTooltip
wraps the component in a<div style="position: relative" />
.I think we should also manually do this for FunctionalComponents when using
useTooltip
(this is how I solved my positioning issue). If this is the case, can you please add a clear explanation to the docs?Thank you for your amazing work!
The text was updated successfully, but these errors were encountered: