Repository navigation
fix: refresh table sticky offsets when visible columns change - #21543
Open
lanqing431 wants to merge 1 commit into
Open
lanqing431 wants to merge 1 commit into
lanqing431 wants to merge 1 commit into
Conversation
|
👍 Thanks for this! Please review the labels and make any necessary changes. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 #21220。
表格正文单元格之前只按可见列数量缓存冻结样式。用同一次数据更新切换两列的可见性时,列数量可以保持不变,保留的冻结列就会沿用旧偏移和旧边界样式。正文现在沿用表头使用的现有计算,按当前可见列生成冻结样式。
新增渲染回归,覆盖可见列总数不变时的列切换,并断言正文冻结列的偏移与边界更新。用例在原版失败,修复后 Table 与 CRUD 相关的 55 项测试及 18 个快照全部通过。格式检查通过,ESLint 未新增问题,使用指向内部工作区源码的本地配置完成了类型检查。