Skip to content

[Tooltip] Add a way for the Tooltip to remain open when the trigger is clicked #1311

Open
@sunwrobert

Description

Feature request

This could be useful for something like a copy to clipboard button, where it shows a tooltip with the text Copy, and then after clicking on the button, the text changes to Copied with the tooltip still open. Radix had a way to do this with event.preventDefault()

Summary

Examples in other libraries

Motivation

Metadata

Assignees

No one assigned

    Labels

    component: tooltipThis is the name of the generic UI component, not the React module!docsImprovements or additions to the documentationstatus: waiting for maintainerThese issues haven't been looked at yet by a maintainer

    Projects

    • Status

      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions