antvis / antvis/G2

设置滚动进度条时,点击滚动条空白区域,滚动条会动,但是图表内容没有滚动

Open
#6,327 4 comments 0 reactions 0 assignees View on GitHub
bug 🐛 OSCP
Dominant language
TypeScript
Stars
12.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

设置滚动进度条时,点击滚动条空白区域,滚动条会动,但是图表内容没有滚动变化

### 重现链接

_No response_

### 重现步骤

官方示例图上
设置滚动进度条时,点击滚动条空白区域,如下
![1](https://github.com/antvis/G2/assets/19668959/7abc0f45-794c-465e-a03f-8ef72d0014cb)
滚动条会动,但是图标数据没有滚动变化
![2](https://github.com/antvis/G2/assets/19668959/d65d2e20-5eb6-44a2-b5ea-41d55d96828b)

### 预期行为

数据也同时变化

### 平台

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

### 屏幕截图或视频(可选)

Uploading 滚动条 _ G2 - Google Chrome 2024-06-28 14-56-58.mp4…

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the official G2 example: click the blank area of the scrollbar and compare the scrollbar position with the chart data. Trace the scrollbar interaction entry point and verify that the chart content updates together with the scrollbar; the issue is fixed when both move consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.