Skip to content

fix(vtable): align sticky merged labels across mounted rows - #5394

Open
lanqing431 wants to merge 2 commits into
VisActor:developfrom
lanqing431:fix/issue-5336-sticky-merge
Open

lanqing431 wants to merge 2 commits into
VisActor:developfrom
lanqing431:fix/issue-5336-sticky-merge

Conversation

@lanqing431

Copy link
Copy Markdown

变更类型

Bug fix。Fixes #5336。

变更内容

纵向合并单元格的一部分在视口外时,已创建的行可能仍把同一个标签画到视口内。这些行原先没有应用和视口内行相同的粘滞定位,导致一段文字出现两个纵坐标。

将垂直定位的范围扩展到渐进渲染当前维护的行。保留按批次去重和对于未创建行的裁剪,横向处理保持原样。

验证

  • 真实 ListTable 回归中,8 行合并单元格在矮视口中原本产生两个纵坐标,修复后只有一个。
  • 7 个合并单元格、冻结区和滚动套件共 39 项通过,类型检查与提交时 ESLint、Prettier 检查通过。
  • Windows 全量视觉命令在平台预检停止。

BugServer

待补。仓库内回归测试位于 packages/vtable/__tests__/options/listTable-sticky-merge-viewport.test.ts。

@visactor-review-bot visactor-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

未发现可确认的新问题。

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] mergeCell 合并区间部分超出可视区域时,合并标签被画在两个位置(1.26.7 回归,PR #5284 引入)

1 participant