S2
S2 copied to clipboard
🐛 表格横向滚动条在宽度足够无需滚动时依然占位
🏷 Version
| Package | Version |
|---|---|
| @antv/s2 | 1.49.0 |
| @antv/s2-react | 1.42.0 |
| @antv/s2-vue |
Sheet Type
- [x] PivotSheet
- [x] TableSheet
- [ ] GridAnalysisSheet
- [ ] StrategySheet
- [ ] EditableSheet
🖋 Description
在横向空间不足时,表格下方会出现滚动条,但当宽度足够、不绘制滚动条时,表格下方依然会预留滚动条的位置
⌨️ Code Snapshots
使用代码库中的 react-playground
🔗 Reproduce Link
🤔 Steps to Reproduce
- 运行 react-playground,使用 基础表
- 将宽度设置为600px
😊 Expected Behavior
在宽度足够时滚动条不占位
😅 Current Behavior
横向宽度足够没有滚动条,依然预留了滚动条的位置
💻 System information
| Environment | Info |
|---|---|
| System | macOS Monterey 12.3 |
| Browser | Chrome 114.0.5735.198 |
你好 @LUUUAN,很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志.
Hello, @LUUUAN, We are so sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the follow-up change logs.
会影响布局计算, 2.0 版本中修复