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

ScrollViewer overscrolls with the mouse wheel when IsScrollInertiaEnabled="False" #10206

Open
buodev opened this issue Nov 30, 2024 · 0 comments
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners

Comments

@buodev
Copy link

buodev commented Nov 30, 2024

Describe the bug

ScrollViewer overscrolls showing black stripes ouside the content bounds when scrolling vertically using the mouse wheel, if IsScrollInertiaEnabled="False".

Steps to reproduce the bug

  1. define a ScrollViewer in WinUI 3 XAML
  2. set IsScrollInertiaEnabled="False"
  3. place a Canvas cantrol with some content larger than the Scrollviewer's dimensions inside the ScrollViewer
  4. scroll vertically using the mouse wheel

Expected behavior

the Scrollviewer scrolls from one edge of the canvas to the other without showing any black stripes outside the canvas bounds.

Screenshots

Image
Image

NuGet package version

WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003

Windows version

Windows 11 (24H2): Build 26100

Additional context

this behavior is only displayed when using the mouse wheel, scrolling with the scrollbar works as expected.
I've been unable to change it using any XAML commands.

@buodev buodev added the bug Something isn't working label Nov 30, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners
Projects
None yet
Development

No branches or pull requests

1 participant