dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.99k stars 1.72k forks source link

VerticalScrollBar not visible until hovered #19196

Open taylormoyle opened 9 months ago

taylormoyle commented 9 months ago

Description

On any CollectionView, the vertical scrollbar is not present until the user hovers/interacts with the UI element in some way. I expected with the VerticalScrollBarVisibility="Always" flag set, the scrollbar would exist upon xaml load, showing the user they could move data up+down without first having to try it themselves.

Steps to Reproduce

  1. Create a CollectionView
  2. Set VerticalScrollBarVisibility="Always"

Expected Result

Scrollbar is shown next to CollectionView upon xaml load and InitializeComponent(); is ran

Actual Result

Scrollbar is invisible until user hovers/scrolls.

Link to public reproduction project repository

No response

Version with bug

8.0.3

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

windows10.0.19041

Did you find any workaround?

No, the user has to attempt to interact before it appears, which isn't the most intuitive UI.

Relevant log output

No response

ninachen03 commented 5 months ago

Verified this issue with Visual Studio 17.10.0 Preview 3 (8.0.20 & 8.0.0-rc.1.9171).I can repro it. I need to move the cursor over the content ,the VerticalScrollBar to show up. VerticalScrollBar