You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, @duganlx, 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.
🏷 Version
Sheet Type
🖋 Description
在使用明细表的时候,我对组件 SheetComponent 设置了 themeCfg,并绑定 onDataCellClick 和 onDataCellSelectMove 事件,在绑定的这两个单元格事件中,我会获取到选中的 rowIndex 和 colIndex 并保存到 useState 中,并在 useEffect 监听这两个变量,并进行输出到页面上。我发现在操作了几次之后,操作的流畅度变得很差。另外,我如果设置了冻结行之后,操作多次之后,冻结行的下边框会变得越来越粗,如下图所示。个人感觉是页面重新渲染时,某些变量可能没有清理,导致一直在累加导致的。
⌨️ Code Snapshots
s2Options 和 SheetComponent 使用代码如下。
🔗 Reproduce Link
https://codesandbox.io/p/sandbox/s2-themecfg-bug-xtfjdl
🤔 Steps to Reproduce
😊 Expected Behavior
预期的效果就是无论如何点击和改变选中的单元格,响应速度都很丝滑。如果设置了开头行冻结,那么冻结行底部边线也不会出现样式的改变。
😅 Current Behavior
目前,开始点击选中某个单元格之后,用键盘上下左右随意键入几次,开头冻结行底部边线样式异常(变粗、阴影变大),并且响应速度变慢
💻 System information
The text was updated successfully, but these errors were encountered: