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

ItemsRepeater jumps back and forth when scroll to last item using mouse #1601

Closed
hupo376787 opened this issue Nov 12, 2019 · 2 comments
Closed
Assignees
Labels
area-ItemsRepeater bug Something isn't working needs-assignee-attention Assignee needs to follow-up or investigate this issue team-Controls Issue for the Controls team

Comments

@hupo376787
Copy link

hupo376787 commented Nov 12, 2019

Describe the bug
ItemsRepeater jumps back and forth when scroll to last item using mouse.
Note: this bug not occurs every time, and as the items count varies(go to another repeater), it may behave normal.

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. Build and run my sample repo
  2. Scroll to the last item.

Expected behavior

Scroll to the last item normally.

Screenshots

68462458-8c6b5780-0247-11ea-9b78-71ae591245ef

Version Info

NuGet package version:

Windows 10 version Saw the problem?
Insider Build (xxxxx)
May 2019 Update (18362) Yes
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Mobile
Xbox
Surface Hub
IoT

Additional context
Here is a small repo, and special thanks to @XamlBrewer's repo.

@msft-github-bot msft-github-bot added the needs-triage Issue needs to be triaged by the area owners label Nov 12, 2019
@jevansaks jevansaks added area-ItemsRepeater bug Something isn't working needs-assignee-attention Assignee needs to follow-up or investigate this issue team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Nov 12, 2019
@ranjeshj
Copy link
Contributor

@hupo376787 Which version of the OS are you running on ? I cannot repro this on a recent built of windows. If you are running on an older version of the operating system ScrollViewer does not have some of the features to enable Repeater's viewport management features. You will need to wrap it in an ItemsRepeaterScrollHost to make it work there. In more recent versions of the OS ItemsRepeaterScrollHost will no-op and let ScrollViewer do the work. - https://docs.microsoft.com/en-us/uwp/api/microsoft.ui.xaml.controls.itemsrepeaterscrollhost?view=winui-2.2
Hope that helps.

@hupo376787
Copy link
Author

Previously I run my app on 1903, but last night my pc update to 1909, so I can't reproduce either.

So I'll keep watching on. Thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-ItemsRepeater bug Something isn't working needs-assignee-attention Assignee needs to follow-up or investigate this issue team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

4 participants