-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 not scrolling, not selecting after update, extremely slow to update #6943
Comments
Verified this issue with Visual Studio Enterprise 17.3.0 Preview 1.0 [32427.455.main]. Repro on Android with above project. |
Hi @hbraasch In the short term, whilst this gets looked in, I would personally suggest collection view, as it offers a very simple way to add Lazy loading (paging). I am not sure what the long term plans are, seems harder to keep both ListView and collectionView (from a maintenance perspective). Good luck, hope it gets fixed. |
Hi @KarlSearl Thanks for the suggestion. Much appreciated. I've replaced one of my ListViews with a CollectionView and did see some improvement. But... it unfortunately still does not scroll on Android. Everthing using the CollectionView works fine on iOS. So, for the developers please... There is ALSO a problem with CollectionView... https://github.com/hbraasch/TabbedListViewTester.git And here is a short video to demonstrate the issue: https://github.com/hbraasch/TabbedListViewTester/blob/master/CollectionViewProblem.mp4 Regards |
I now notice its got to do with the layout, having the buttons and the listview inside a VerticalStackLayout. |
Could be related to #6584 |
For what its worth, for the ListView issue, I've now noticed that when I replace the [ViewCell] with a [TextCell] in the DataTemplate section (I can do this in this case, because I only need to display a string), scrolling starts working again. |
Thanks I'm now aware of the problem when having a ListView inside a StackLayout. I'll wait for the next release to see if the other issues are resolved. |
Description
Please see linked reproduction project and video.
On both Android and iOS, starting with a tabbed page with a listview on each page, the:
The sample project can be found here:
https://github.com/hbraasch/TabbedListViewTester.git
The demonstration video can be found here:
https://github.com/hbraasch/TabbedListViewTester/blob/master/ListViewProblem.mp4
Steps to Reproduce
Version with bug
Release Candidate 2 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Affected platform versions
Android 12 - API 30/31, iOS 15.4
Did you find any workaround?
None
Relevant log output
No response
The text was updated successfully, but these errors were encountered: