Skip to content

Popover within <dialog> #201

@sevDaniel

Description

@sevDaniel

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions