-
Notifications
You must be signed in to change notification settings - Fork 19.8k
[Bug] Tooltip is not removed nor set to display: none #17251
Copy link
Copy link
Closed
Labels
bugdiscussion-requiredFurther discussion is required before we decide if this issue should be fixed.Further discussion is required before we decide if this issue should be fixed.enThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.topic: tooltip
Description
Version
5.3.3
Link to Minimal Reproduction
https://jsfiddle.net/spxr6v1g/16/
Steps to Reproduce
- Go to the jsfiddle (https://jsfiddle.net/spxr6v1g/16/)
- Hover over the point with value 0
- Click on Button "change div size to 100px" WITHOUT crossing the chart again
- Notice the large scrollbar on the right -> this is due to the tooltip which is not removed or set to display: none but still floating invisibly at the bottom
Current Behavior
Notice that this is a very simple example. My application is much more complex and things have to be how they are.
Currently the tooltip is not removed from the dom nor set to display:none which causes an unnecessary scrollbar.
Expected Behavior
The tooltip should be removed at least when you call chartInstance.resize() as the chart might have become smaller than before.
Environment
- OS: Windows 10
- Browser: Chrome 99.0.4844.51
- Framework: Angular (but applies Framework independent)Any additional comments?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugdiscussion-requiredFurther discussion is required before we decide if this issue should be fixed.Further discussion is required before we decide if this issue should be fixed.enThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.topic: tooltip