microsoft / microsoft-ui-xaml

WinUI: a modern UI framework with a rich set of controls and styles to build dynamic and high-performing Windows applications.
MIT License
6.37k stars 683 forks source link

Scrolling is terrible when ScrollViewer IsScrollInertiaEnabled is False #9124

Open XP1 opened 1 year ago

XP1 commented 1 year ago

Describe the bug

When <ScrollViewer IsScrollInertiaEnabled="False">, scrolling by mouse scroll wheel, there are gaps on the top and bottom, and the text is flickering and jumping around.

Scrolling by scrollbar mouse grab seems fine.

Steps to reproduce the bug

Scroll by mouse scroll wheel.

Expected behavior

No gaps, flickering, or jumping around.

Screenshots

https://github.com/microsoft/microsoft-ui-xaml/assets/776585/7a9ec054-2962-4253-93b4-06ad83414f18

NuGet package version

None

Windows version

No response

Additional context

No response

ranjeshj commented 11 months ago

@XP1 can you share the markup you are using? Which version of WinUI3/WinAppSDK are you seeing this in ?

XP1 commented 11 months ago

Updated the project using NuGet. Still same behavior.

Microsoft.WindowsAppSDK.1.4.230913002 -> Microsoft.WindowsAppSDK.1.4.231115000 Microsoft.Windows.SDK.BuildTools.10.0.22621.755 -> Microsoft.Windows.SDK.BuildTools.10.0.22621.2428

"MainWindow.xaml": MainWindow.xaml.txt