I'm using RadixUI library (https://www.radix-ui.com/primitives/docs/components/tooltip) for my components. The problem is that I'd like to keep the content of my Tooltip in dom. Currently, it appears only on hover and is rendered in body element as a last child. What I'd like to obtain is that:
- Tooltip content is always kept in dom (for example with
display: nonestyle) - Tooltip content is rendered inside my tooltip trigger or at least in a way that its possible to identify with which trigger its associated
EDIT Currently I have the following
{label}
{content}
The remaining drawback - closing animation does not work with hidden class. Is it possible to make it works?