Skip to content

fix: correct scroll offset when clearing search in tree view - #26

Merged
bosiakov merged 1 commit into
mainfrom
fix/tree-scroll-offset-on-search-clear
Apr 2, 2026
Merged

fix: correct scroll offset when clearing search in tree view#26
bosiakov merged 1 commit into
mainfrom
fix/tree-scroll-offset-on-search-clear

Conversation

@bosiakov

@bosiakov bosiakov commented Apr 2, 2026

Copy link
Copy Markdown
Contributor
  • Fix tree view scroll not following selection when search field is cleared
  • Directly position the list viewport in the NeedInitialSel block instead of relying solely on calculateSmartScrollPositionVariable, which uses inaccurate fallback heights when the height cache is empty after a tree rebuild

@bosiakov
bosiakov merged commit 41065ce into main Apr 2, 2026
1 check passed
@bosiakov
bosiakov deleted the fix/tree-scroll-offset-on-search-clear branch April 2, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant