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

ListView.ScrollIntoView never stops scrolling when ItemsSource been set to more than 100 items #12374

Open
TCPcloudDEV opened this issue May 20, 2023 · 5 comments
Assignees
Labels
area/listview 📃 Categorizes an issue or PR as relevant to the ListView control area/scrollviewer ⏬ Categorizes an issue or PR as relevant to ScrollViewer difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding kind/bug Something isn't working

Comments

@TCPcloudDEV
Copy link

TCPcloudDEV commented May 20, 2023

Current behavior

ListView.ScrollIntoView never stops scrolling when ItemsSource been set to more than 100 items.

I have ItemsSource as List<KeyValuePair<string, string>>

and

<ListView
DisplayMemberPath="Value"
IsItemClickEnabled="True" IsRightTapEnabled="False" IsHoldingEnabled="False" IsDoubleTapEnabled="False"

Expected behavior

scroll to selected item and stop

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

Works on UWP as expected

Environment

No response

NuGet package version(s)

No response

Affected platforms

Droid

IDE

Microsoft Visual Studio Community 2022

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@TCPcloudDEV TCPcloudDEV added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels May 20, 2023
@jeromelaban
Copy link
Member

Thanks for the report. Could you attach a zip file with a repro app so we're sure to discuss the same issue?

@jeromelaban jeromelaban added the triage/needs-information Indicates an issue needs more information in order to work on it. label May 23, 2023
@TCPcloudDEV
Copy link
Author

see my test example.

UnoApp1.zip

@jeromelaban jeromelaban added area/scrollviewer ⏬ Categorizes an issue or PR as relevant to ScrollViewer and removed triage/needs-information Indicates an issue needs more information in order to work on it. triage/untriaged Indicates an issue requires triaging or verification labels May 24, 2023
@MartinZikmund MartinZikmund changed the title ListView.ScrollIntoView never stops scrolling when ItemsSource been set to more than 100 items ListView.ScrollIntoView never stops scrolling when ItemsSource been set to more than 100 items Jun 1, 2023
@MartinZikmund MartinZikmund added area/listview 📃 Categorizes an issue or PR as relevant to the ListView control difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding and removed difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Jun 1, 2023
@dr1rrb
Copy link
Member

dr1rrb commented Jun 14, 2023

Hey @TCPcloudDEV thanks for the report and the sample 👍. For the next time, when you create a repro app, please do not remove any target (and especially Skia). Even if it does not compile, it's easier for us to check on all platforms.

@dr1rrb
Copy link
Member

dr1rrb commented Jun 14, 2023

Hey @Xiaoy312 this seems to be linked to #11962 that you looked at recently with @ajpinedam

@Xiaoy312
Copy link
Contributor

the issue is android specific, (not reproducible on ios, and not implemented on other platforms...)
related to #11962, but not necessarily a direct cause of this issue?
note: VirtualizingPanelSmoothScroller is likely the area to look for

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/listview 📃 Categorizes an issue or PR as relevant to the ListView control area/scrollviewer ⏬ Categorizes an issue or PR as relevant to ScrollViewer difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants