AvaloniaUI/Avalonia

SimpleMenuScrollViewer's ScrollBar will be hidden when ScrollBarVisibility is specified as Visible

Closed this issue · 1 comments

Describe the bug

SimpleMenuScrollViewer's ScrollBar will be hidden when ScrollBarVisibility is specified as Visible
MenuScrollingVisibilityConverter returns false, which is counterintuitive.
All Themes can reproduce this. It is not a ControlTheme bug but a Converter bug.

To Reproduce

Create a ScrollViewer, use SimpleMenuScrollViewer ControlTheme, and set ScrollBarVisibility to ScrollBarVisibility.Visible

Expected behavior

It should be visible when ScrollBarVisibility is Visible.

Avalonia version

11.2.2

OS

Windows

Sorry for making so many mistakes, I'm not familiar with PR