Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sunwrobert opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels
component: tooltip This is the name of the generic UI component, not the React module! status: waiting for maintainer These issues haven't been looked at yet by a maintainer

Comments

@sunwrobert
Copy link

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

@github-actions github-actions bot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 9, 2025
@mj12albert mj12albert added the component: tooltip This is the name of the generic UI component, not the React module! label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tooltip This is the name of the generic UI component, not the React module! status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants