antvis / antvis/S2

🐛 表头 cornerCell colCell 的 cell padding 设置,上下内边距不生效

Open
#1,767 1 comment 0 reactions 0 assignees View on GitHub
🐛 bug 💤 inactive pivot sheet
Dominant language
TypeScript
Stars
1.7k
Forks
220
PR merge metrics
No merged PRs in 30d

Description

### 🏷 Version

| Package | Version |
| -------------- | --------- |
| @antv/s2 | 1.30.0 |
| @antv/s2-react | |
| @antv/s2-vue | |

### Sheet Type

- [x] PivotSheet
- [ ] TableSheet
- [ ] GridAnalysisSheet
- [ ] StrategySheet

### 🖋 Description

表头 cornerCell colCell 的 cell padding 设置,上下内边距不生效,左右是生效的
image

### ⌨️ Code Snapshots

### 🔗 Reproduce Link
https://codesandbox.io/s/lively-forest-nh713s?file=/index.ts

### 🤔 Steps to Reproduce

### 😊 Expected Behavior
cornerCell colCell 的 cell padding 设置,所有的内边距都生效
### 😅 Current Behavior

### 💻 System information

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox, especially index.ts, and reproduce the PivotSheet configuration for cornerCell and colCell cell padding. Trace the header-cell rendering path for vertical padding and verify that both horizontal and vertical padding take effect in the reproduced example.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.