How do you remove the tooltip after clicking a button #351
Replies: 3 comments 1 reply
-
I used CSS to hide the tooltip before/after focus. In my styles.css I have :
This worked for me. It is crude, you can add a transition if you want to. ` |
Beta Was this translation helpful? Give feedback.
-
A colleague modified it a bit to include the hover and it appears to work as required:
|
Beta Was this translation helpful? Give feedback.
-
This worked for me but I added |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Svelte with picoscss. I added tooltips to a button element but on clicking the button, the button remains "down" (selected) with the tooltip remaining until a mouse click elsewhere on the page. How do I make the button release after clicking and consequently, I assume the tooltip will disappear? Alternatively, how to make the tooltip only active during hover. Here is the HTML of the button.
<button data-tooltip="Stop any active haul process on the stream multiplier" on:click={() => StopStreamx()}>Stop
Beta Was this translation helpful? Give feedback.
All reactions