How do you remove the tooltip after clicking a button #351
Unanswered
kferguson60
asked this question in
Help
Replies: 2 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.
1 reply
-
A colleague modified it a bit to include the hover and it appears to work as required:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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