Skip to content

bug: tooltip button close #121

@areski

Description

@areski

What version of FlyonUI are you using?

v2.4.1

Which browsers are you seeing the problem on?

Firefox

Reproduction URL

https://flyonui.com/docs/overlays/tooltip/

Describe your issue

I'm trying to implement a close button inside the tooltip or popover, but I cannot find a proper way to do this.

I tried with

onclick="document.getElementById('dropdown-{{ obj.id }}').classList.add('hidden');"

Although this works to hide it, then it alters the original behavior and the tooltip stop working.

What's the proper way to close a tooltip with a button?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions