How do you remove the tooltip after clicking a button #351
Unanswered
kferguson60
asked this question in
Help
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. ` |
1 reply
|
A colleague modified it a bit to include the hover and it appears to work as required: |
0 replies
|
This worked for me but I added |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
All reactions