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

Allow passing virtualRef to TooltipTrigger similar to PopoverAnchor #2841

Open
dnlsandiego opened this issue Apr 15, 2024 · 0 comments
Open

Comments

@dnlsandiego
Copy link

Feature request

Overview

Hi folks, PopoverAnchor's virtualRef prop has been really helpful in anchoring to elements that are controlled by libraries/frameworks so I'm looking to see if it's also possible for TooltipTrigger to have the same functionality. My main use case is adding tooltips to elements managed by a text editor framework Lexical. Where it only provides access to DOM element refs.

I'm able to achieved tooltip-like behavior using Popover but will also need to implement the delay behavior so it would great to just use Tooltip instead.

Any way the TooltipTrigger can support virtualRefs as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant