Skip to content

🐛tooltip不能随页面滚动调整位置 #3307

@wvw2yyb56w-rgb

Description

@wvw2yyb56w-rgb

🏷 S2 Version / S2 版本

Package Version
@antv/s2 2.4.14
@antv/s2-react
@antv/s2-react-components

💻 Sheet Type / 表格类型

  • PivotSheet
  • TableSheet
  • PivotChartSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Describe the bug / 问题描述

当页面可以上下滚动时,点击单元格,出现tooltip。上下滚动页面时,tootlip不能自动跟随
Image

⌨️ Code Snapshots / 代码片段

🔗 Reproduction link / 复现链接

https://s2.antv.antgroup.com/examples/react-component/tooltip/#basic

📋 Steps to Reproduce the Bug or Issue / 重现步骤

当页面可以上下滚动时,点击单元格,出现tooltip。在非图表区上下滚动页面时,tootlip不能自动跟随

😊 Expected Behavior / 期望行为

tootlip可以自动跟随,滚动到单元格不在视口内后,tooltip可以消失

😅 Current Behavior / 当前行为

No response

💻 OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

🌏 Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions