-
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
.NET MAUI Problem with ListView/CollectionView on iOS #12071
Comments
you copied my XAML code incorrectly from the Developer Community. Please correct it. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Fixed, thanks for let us know. |
You can't embed a ListView/CollectionView/ScrollView inside a VerticalStackLayout, as a VerticalStackLayout has the height of its content, and a ListView/CollectionView/ScrollView has no height except if you set one through HeightRequest. So nothing will appear in your example, as the height of your ListView is 0. Not that the height of a ListView/CollectionView/ScrollView is NOT the height of it's content ! |
softlion, |
I don't have any performance issue after embedding CollectionView inside ContentView. It can scroll 10k items very fast. But I agree that it requires a couple of trick that should be out of the box for everyone. |
Hi @vsfeedback. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version. You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Verified this issue with Visual Studio Enterprise 17.8.0 Preview 1.0(.NET8). Not repro on iOS platforms with sample project (ListViewDemos). maui-samples/7.0/UserInterface/Views/ListViewDemos at main · dotnet/maui-samples (github.com) |
This issue has been moved from a ticket on Developer Community.
[severity:I'm unable to use this version]
I have a program on the MAUI platform with the MVVM pattern. The problem occurs when running on an Iphone (any) of my program with ListView/CollectionView. When I click on the button or try to just fill in the ListView/Collection view, the program just freezes and nothing happens! I can't write a program for iOS! (There is no difference between Release and Debug)
Example:
C#
XAML
PS: I work on Windows 11 - Visual Studio and connect to a MacBook Pro - using the simulator to launch an Iphone
Original Comments
Feedback Bot on 12/4/2022, 04:37 PM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: