-
Notifications
You must be signed in to change notification settings - Fork 19.8k
[Bug] tooltip appendtobody后隐藏方式不合适会导致出现滚动条 #17377
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.pendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.topic: tooltip
Description
Version
5.0.2
Link to Minimal Reproduction
No response
Steps to Reproduce
tooltip采用appendToBody方式,以前隐藏时是使用display:none; 现在用visibility 和 opacity控制,但transform未恢复
Current Behavior
如果echart图在页面右下角,从大屏到小屏切换时会导致出现滚动条
Expected Behavior
应该还是采用display:none; 更友好,或者恢复transform值,这样避免屏幕切换时出现滚动条
Environment
- OS:
- Browser:
- Framework: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.pendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.topic: tooltip