Skip to content

[Bug] tooltip appendtobody后隐藏方式不合适会导致出现滚动条 #17377

@toodiff

Description

@toodiff

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdiscussion-requiredFurther discussion is required before we decide if this issue should be fixed.pendingWe are not sure about whether this is a bug/new feature.topic: tooltip

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions