Skip to content

Fix ScrollBar not reacting to ScrollViewer.AllowAutoHide property changes - #241

Merged
MrJul merged 2 commits into
AvaloniaUI:masterfrom
zrt2399:fix_AllowAutoHide
Jun 23, 2026
Merged

Fix ScrollBar not reacting to ScrollViewer.AllowAutoHide property changes#241
MrJul merged 2 commits into
AvaloniaUI:masterfrom
zrt2399:fix_AllowAutoHide

Conversation

@zrt2399

@zrt2399 zrt2399 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Fixes an issue where ScrollBar.AllowAutoHide was not bound in the control template and was instead assigned in code.

This change moves the property propagation to a template binding, ensuring that updates to AllowAutoHide are correctly reflected by the internal scroll bars.

@zrt2399 zrt2399 changed the title Fix broken AllowAutoHide property binding in ScrollBar Fix ScrollBar not reacting to ScrollViewer.AllowAutoHide property changes Jun 1, 2026

@MrJul MrJul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@MrJul
MrJul merged commit ea94e80 into AvaloniaUI:master Jun 23, 2026
1 check passed
This was referenced Jun 23, 2026
This was referenced Aug 3, 2026
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.

2 participants