Skip to content

[Bug] tooltip appendtobody模式下在移动端滚动页面的情况会错位 #20876

@byronbyyuan

Description

@byronbyyuan

Version

5.4.3

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/laughing-mestorf-3tppk9?file=%2Fsrc%2Findex.js

Steps to Reproduce

  1. 进入上述例子后,打开手机端模拟刷新页面
    2.正常点击echarts后滚动页面
    3.再点击后续的echarts, 滚动幅度越大,错位的距离越大
    设置position也无效

Current Behavior

当滚动越大,tooltip错位非常多

Expected Behavior

期望应该在当前点击的图的位置

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions