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

VirtualizingStackPanel scrolls more than expected when receiving a Reset event. #16346

Closed
mpylon opened this issue Jul 17, 2024 · 0 comments · Fixed by #16347
Closed

VirtualizingStackPanel scrolls more than expected when receiving a Reset event. #16346

mpylon opened this issue Jul 17, 2024 · 0 comments · Fixed by #16347
Labels

Comments

@mpylon
Copy link
Contributor

mpylon commented Jul 17, 2024

Describe the bug

When clicking the "Page Down" portion of a ScrollBar, I have seen the ScrollViewer scroll multiple pages at a time. This only seems to occur when using the VirtualizingStackPanel. You can see this in the following image.

incorrect_viewport

Expected: 83rd element is the topmost element.
Actual: 118th element is the topmost element.

To Reproduce

This can be reproduced by using the following sample code.

https://github.com/mpylon/ava-virtualization/tree/master

Expected behavior

Clicking the "Page Down" portion of the ScrollBar should only scroll one page, not more than one.

Avalonia version

11.2.999-cibuild0050152-alpha

OS

Windows

Additional context

No response

@mpylon mpylon added the bug label Jul 17, 2024
mpylon added a commit to mpylon/Avalonia that referenced this issue Jul 17, 2024
@mpylon mpylon mentioned this issue Jul 17, 2024
mpylon added a commit to mpylon/Avalonia that referenced this issue Jul 26, 2024
github-merge-queue bot pushed a commit that referenced this issue Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant