Using switch as trigger for tooltip #2902
Unanswered
aishwaryaborkar
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Basically, I'd like to show a tooltip when hovering over a toggle (using switch from
radix-ui/react-switch
) to explain why the toggle is disabled. I'm trying to use switch as a trigger for the tooltip fromradix-ui/react-tooltip
and I've looked into similar threads (such as this one) where it explains to spread the props but it seemingly does not work for the switch. Is there something specific that needs to be done for this particular case?Beta Was this translation helpful? Give feedback.
All reactions