antvis/G2

Do you want to work on this issue?

You can request for a bounty in order to promote it!

【5.1.9】使用滚轮滚动scrollbar时视图中数据不更新 #5837

YuzKio posted onGitHub

问题描述

预期滚动滚轮时视图中数据会像拖动scrollbar一样变化,但实际滚动滚轮时仅scrollbar的thumb位置改变,视图中的数据并没有更新。 p.s. 是否考虑scrollbar滚轮滚动区域可配置,比如支持在图表内滚动滚轮,目前仅支持在scrollbar区域滚动滚轮,交互起来感觉不太友好。

重现链接

https://g2.antv.antgroup.com/examples/component/scrollbar/#scrollbar

重现步骤

  1. 进入页面
  2. 在scrollbar区域滚动滚轮
  3. 与拖动thumb的效果进行对比

预期行为

如问题描述

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


目前还没有监听滚动事件,感兴趣提一个 PR 吗?

posted by pearmini over 1 year ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests