Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix scrollbar getting stuck in certain situations #11233

Merged
merged 2 commits into from
May 5, 2023

Conversation

grokys
Copy link
Member

@grokys grokys commented May 4, 2023

What does the pull request do?

Fixes a problem in the layout manager whereby if ancestor measure was invalidated in a certain order during the arrange pass then the control would be removed from the arrange queue before it was actually arranged causing issues such as the scrollbar getting stuck in #7706.

If an ancestor control results in a control not being arranged, then we need to queue that control for another arrange pass after the next measure pass.

Fixed issues

Fixes #7706
Fixes AvaloniaUI/Avalonia.Controls.TreeDataGrid#174

grokys added 2 commits May 4, 2023 14:23
If an ancestor control results in a control not being arranged, then we need to queue that control for another arrange pass after the next measure pass.

Fixes #7706.
@grokys grokys added the bug label May 4, 2023
@avaloniaui-team
Copy link
Contributor

You can test this PR using the following package version. 11.0.999-cibuild0034225-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 added this pull request to the merge queue May 4, 2023
Merged via the queue into master with commit cc2d755 May 5, 2023
@maxkatz6 maxkatz6 deleted the fixes/7706-scrollbar-stuck branch May 5, 2023 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants