You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems ironic that the tooltips on the docs page (like for the Copy Code icon) work the way tooltips are expected to work on a desktop browser (i.e. display on hover) but the Tooltip component that the docs describe doesn't seem to offer that functionality :)
Currently I'm not sure how this component is different from a button?
I can appreciate that on click is useful and necessary for mobile devices but it's not useful for desktop, where the idea is that a tooltip provides information about the element you are hovering over.
Am I doing it wrong? Is there a way to get it to show the text on hover?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
https://carbon-components-svelte.onrender.com/components/Tooltip
It seems ironic that the tooltips on the docs page (like for the Copy Code icon) work the way tooltips are expected to work on a desktop browser (i.e. display on hover) but the Tooltip component that the docs describe doesn't seem to offer that functionality :)
Currently I'm not sure how this component is different from a button?
I can appreciate that on click is useful and necessary for mobile devices but it's not useful for desktop, where the idea is that a tooltip provides information about the element you are hovering over.
Am I doing it wrong? Is there a way to get it to show the text on hover?
The one on the IBM live demo works as expected: https://carbondesignsystem.com/components/tooltip/usage/#live-demo
Beta Was this translation helpful? Give feedback.
All reactions