Skip to content

fix: avoid selection gap with frozen rows#5144

Merged
fangsmile merged 4 commits into
developfrom
fix/issue-5027
Jun 11, 2026
Merged

fix: avoid selection gap with frozen rows#5144
fangsmile merged 4 commits into
developfrom
fix/issue-5027

Conversation

@fangsmile

Copy link
Copy Markdown
Contributor

Summary

  • fix visible body row range calculation when frozenRowCount is enabled
  • avoid selection border gap while dragging the vertical scrollbar with a selected column
  • add an issue-5027 debug demo and a regression test

Reproduction

  • open Debug / issue-5027 in the examples site
  • the demo preselects the age column with frozenRowCount: 5
  • drag the vertical scrollbar and observe the selected column border

Root Cause

  • getBodyVisibleCellRange() and getBodyVisibleRowRange() may derive the body visible start row incorrectly when top frozen rows exist
  • the selection border body segment then uses the wrong visible row range and appears disconnected from the frozen area

Verification

  • reproduced in browser with the new debug demo
  • verified the selected column border stays continuous after scrolling
  • added regression coverage for the frozen-row visible range API

@fangsmile fangsmile merged commit 7b9d2a4 into develop Jun 11, 2026
6 of 8 checks passed
@fangsmile fangsmile deleted the fix/issue-5027 branch June 11, 2026 06:48
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.

1 participant