S2 icon indicating copy to clipboard operation
S2 copied to clipboard

🐛 行列冻结与 `theme.dataCell.cell.xxxBorderWidth` 一起使用会出现异常

Open kongxiangyan opened this issue 2 years ago • 4 comments

🏷 Version

Package Version
@antv/s2 1.21.1

Sheet Type

  • [ ] PivotSheet
  • [x] TableSheet
  • [ ] GridAnalysisSheet
  • [ ] StrategySheet

🖋 Description

当行冻结(frozenRowCount or frozenTrailingRowCount)与 theme.dataCell.cell.verticalBorderWidth 一起定义,且表格存在滚动条的情况下,在滚动的时候会出现绘制混乱。

image

上图中垂直方向的条纹会随着滚动次数的增加不断自上而下延申,最终覆盖整个图形,如下图所示:

image

水平方向同理:

当列冻结(frozenColCount or frozenTrailingColCount)与 theme.dataCell.cell.horizontalBorderWidth 一起定义,且表格存在滚动条的情况下,在滚动的时候会出现绘制混乱,如下图所示:

image

⌨️ Code Snapshots

请查看下方 Sandbox 链接。

🔗 Reproduce Link

https://codesandbox.io/s/hungry-brattain-soobcs

🤔 Steps to Reproduce

请查看上方 Sandbox 链接。

😊 Expected Behavior

正常渲染。

😅 Current Behavior

渲染异常。

💻 System information

kongxiangyan avatar Jun 22 '22 14:06 kongxiangyan

你要找的是不是 (You may look for issues):

  1. 55% #1355

🤖 By issues-similarity-analysis

github-actions[bot] avatar Jun 22 '22 14:06 github-actions[bot]

你好 @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.

github-actions[bot] avatar Jun 23 '22 09:06 github-actions[bot]

fixed

YardWill avatar Sep 19 '22 00:09 YardWill

image

YardWill avatar Sep 19 '22 00:09 YardWill