Hi, i've built a Tooltip component with react-tiny-popover and now i want to use this tooltip within a <dialog> component.
Something like:
<dialog>
<Tooltip content="My little Tooltip">
<MyIcon />
</Tooltip>
</dialog>
The problem is that the Tooltip is always behind the dialog and thus invisible.
Is there a way to show the Tooltip within the dialog?
Here is a simple example:
https://codesandbox.io/p/sandbox/react-tiny-popover-within-dialog-rvvh3q
Thank you!
Hi, i've built a
Tooltipcomponent withreact-tiny-popoverand now i want to use this tooltip within a<dialog>component.Something like:
The problem is that the
Tooltipis always behind thedialogand thus invisible.Is there a way to show the
Tooltipwithin thedialog?Here is a simple example:
https://codesandbox.io/p/sandbox/react-tiny-popover-within-dialog-rvvh3q
Thank you!