antvis / antvis/S2

🤔交叉表滚动问题

Open
#2,223 3 comments 0 reactions 0 assignees View on GitHub
❔question 💤 inactive
Dominant language
TypeScript
Stars
1.7k
Forks
220
PR merge metrics
No merged PRs in 30d

Description

### 🏷 Version

| Package | Version |
| -------------- | ------- |
| @antv/s2 | 1.44.0 |

### Sheet Type

- [x] PivotSheet

### 🖋 Description

现象:当透视表数据量过多时,出现滚动条,在滚动的时候行头会默认跟随滚动位置提前显示文字
![image](https://github.com/antvis/S2/assets/50241817/f463d0ac-aea9-46f7-acbc-a79305e436cc)
![image](https://github.com/antvis/S2/assets/50241817/7def990f-68d2-4063-8351-f7170af988f8)

### 🔗 Reproduce Link

https://s2.antv.vision/zh/examples/basic/pivot/#grid

### 😊 Expected Behavior
期望:像明细表一样,滚动的最下方不提前显示文字
![image](https://github.com/antvis/S2/assets/50241817/4a2ffea4-dd1f-40ac-9890-170354d22824)

### 😅 Current Behavior

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the linked PivotSheet grid example with @antv/s2 1.44.0, using enough data to trigger scrolling. Inspect the PivotSheet scrolling and row-header rendering entry points, then compare the behavior with the detail table example. Done means the bottom of the scrolled table does not display row-header text prematurely.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.