Tooltip bug ?
See original GitHub issue {/* {mode === ModeType.Card ? (
<Tooltip title="Grid mode" arrow>
<GridOnRounded
className="c-cursor-pointer"
onClick={(e) => {
e.stopPropagation();
if (mode === ModeType.Card) {
setMode(ModeType.Grid);
}
}}
htmlColor="#ffffff"
fontSize="large"
/>
</Tooltip>
) : (
<Tooltip title="Card mode" arrow>
<img
alt="pic"
height={48}
className="c-cursor-pointer"
onClick={(e) => {
e.stopPropagation();
if (mode === ModeType.Grid) {
setMode(ModeType.Card);
}
}}
src={process.env.PUBLIC_URL + "/sales/card-mode.png"}
/>
</Tooltip>
)} */}
after clicking img and moving mouse away fast, the tooltip didn’t disappear.
i checked the dom, the tooltip wasn’t removed from document.body
is there any solution to solve this problem ?
only when hovering and leaving it again will the tooltip disappear
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Tooltip bug · Issue #36069 · twbs/bootstrap - GitHub
This is caused by putting padding on the tooltip which isn't supported (especially conditionally). The size ends up changing when the placement ...
Read more >Bootstrap tooltip bug when hovering child node - Stack Overflow
The problem is when I hover any child element of that tooltip element. The element suddenly dissapears or is being repositioned at the...
Read more >Tooltip Bug - Material Design for Bootstrap
*Expected behavior*The tooltip should persist until the cursor moves away. *Actual behavior*The tooltip flashes and disappears if not used on a button.
Read more >#12116 (Possible Tooltip Bug) – jQuery - Bug Tracker
This is my first post on this bug tracker and I am very green in the realm ... I am using the jquery...
Read more >Tooltip Issues - Bug Report - World of Warcraft Forums
Can we get a fix to the tooltip? Ever since dragonflight UI came out, the tooltip expands right instead of left… It gives...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jiangyh1024 You can do the same with the
open
prop of the tooltip. If you want to hide the tooltip on click, you could also set a key: https://codesandbox.io/s/keen-resonance-cr25y.Yeah let’s close this.