maui
maui copied to clipboard
CollectionView RemainingItemsThresholdReachedCommand Invalid
Description
Using the RemainingItemsThresholdReachedCommand on the CollectionView control cannot be triggered on the Windows platform, but works normally on the Android platform.
LoadMoreCommand cannot be triggere MauiApp3.zip d
Steps to Reproduce
Version with bug
6.0.400 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 10.0.19401.0
Did you find any workaround?
No response
Relevant log output
No response
I have faced the same issue
Hi @HenJigg. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md
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.
Hi, @HenJigg - thanks for opening this issue. Please reattach the sample project as a GitHub repository so that we can investigate further!
verified repro on windows, works fine on andrroid.
I just hit this issue as well
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.
Any progress on this?
Also just hit this. I have been playing with MAUI for about 2 hours and so far ran into at least 5 bugs for UWP. What's going on here?
Anyone have a workaround for this?
ran into at least 5 bugs for UWP
I thought MAUI's Windows backend was WinUI, not UWP?
I have the same problem. Any Updates to this ? Any workarounds ?
I have this problem as well. I thought that perhaps the RemainingItemsThreshold might need to be more than the number of items loaded initially but they don't make any difference. But apparently you need to wrap the collectionview in a refreshview?
<RefreshView Grid.Row="0" Grid.Column="0"
IsRefreshing="{Binding IsRefreshing}">
<CollectionView
VerticalOptions="Start"
ItemsSource="{Binding BatchItems}"
SelectionMode="Single"
SelectionChanged="CollectionView_SelectionChanged" VerticalScrollBarVisibility="Always"
RemainingItemsThresholdReachedCommand="{Binding GetNextItemsCommand}"
RemainingItemsThreshold="50"
>
etc
Same problem here. I worked around by placing a button underneath the CollectionView for now:
<Button Grid.Row="2"
Text="Load more..."
IsVisible="{OnPlatform False, WinUI=True}"
Command="{Binding LoadMoreDocumentsCommand}" />
Also hoping/waiting for this to get fixed
This is somewhat funny, because WinUI is actually the only supported UI developed by Microsoft and it is also the platform with the most quirks when using MAUI. There really needs to be more/better support for desktop (WinUI).