S2
S2 copied to clipboard
🐛 行列冻结与 `theme.dataCell.cell.xxxBorderWidth` 一起使用会出现异常
🏷 Version
Package | Version |
---|---|
@antv/s2 | 1.21.1 |
Sheet Type
- [ ] PivotSheet
- [x] TableSheet
- [ ] GridAnalysisSheet
- [ ] StrategySheet
🖋 Description
当行冻结(frozenRowCount
or frozenTrailingRowCount
)与 theme.dataCell.cell.verticalBorderWidth
一起定义,且表格存在滚动条的情况下,在滚动的时候会出现绘制混乱。
上图中垂直方向的条纹会随着滚动次数的增加不断自上而下延申,最终覆盖整个图形,如下图所示:
水平方向同理:
当列冻结(frozenColCount
or frozenTrailingColCount
)与 theme.dataCell.cell.horizontalBorderWidth
一起定义,且表格存在滚动条的情况下,在滚动的时候会出现绘制混乱,如下图所示:
⌨️ Code Snapshots
请查看下方 Sandbox 链接。
🔗 Reproduce Link
https://codesandbox.io/s/hungry-brattain-soobcs
🤔 Steps to Reproduce
请查看上方 Sandbox 链接。
😊 Expected Behavior
正常渲染。
😅 Current Behavior
渲染异常。
💻 System information
你好 @kongxiangyan,很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志.
Hello, @kongxiangyan, 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.
fixed