-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
iOS - CollectionView inside of RefreshView does not size correctly #7315
iOS - CollectionView inside of RefreshView does not size correctly #7315
Comments
Verified repro on iOS 15.4 with VS 17.3.0 Preview 1.0 [32427.505.main]. Repro project: |
Any workaround without removing the RefreshView? |
Happening to me as well. I guess the only workaround is to place a button somewhere that allows user to refresh. |
This issue is still labeled sr2... can someone please notice and update it please? |
Seems like milestones are completed and released, but issues are left. What happends to the issues that are left? When will they be fixed? |
Similar issue here, plus using a BoxView in the CollectionView.ItemTemplate causes the items to be stretched vertically whenever the RefreshView is pulled up or down. Repro: https://github.com/hunsra/CVinRV. I'm using VS Windows 17.3.0 Preview 5 with the following workloads:
|
On iOS, it appears that .NET MAUI lays out the When the user rotates the device from Portrait to Landscape, the When the user then rotates back from Landscape to Portrait, the ScreenshotIgnore the "Demo Mode" text. I'm working with support to activate my purchase of ScreenFlow 😇 |
@brminnick thank you for clarifying this |
I confirmed that setting Neither of the following work-arounds fix the issue. In both scenarios, the Scenario 1 Set
|
Also have this issue... multiple distortions to a CollectionView inside a RefreshView:
|
I think I found a workaround for now (on 6.0.400):
<ControlTemplate x:Key="ListContainerTemplate">
<RefreshView IsRefreshing="{TemplateBinding IsRefreshing}" Command="{TemplateBinding RefreshDataCommand}">
<ContentPresenter></ContentPresenter>
</RefreshView>
</ControlTemplate> If you now use <custom:ListContainer RefreshDataCommand="{Binding RefreshData}" IsRefreshing="{Binding IsRefreshing}">
<CollectionView .../>
</custom:ListContainer> |
@jpett how did you associate the template with the control? |
Hi @hunsra, you can apply the template using a style rule like so: <Style TargetType="custom:ListContainer">
<Setter Property="ControlTemplate" Value="{StaticResource ListContainerTemplate}" />
</Style> But you could also set it explicitly for a component instance, see https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/controltemplate for details. :) |
Any chance this is one of the "quality improvements" that made it into the .NET 7 version of MAUI? I think this is a pretty important issue and am surprised that we still have to use workarounds to have this fundamental functionality in our apps. |
Any updates on this issue ? Till today ? |
Finally found out the solution which works for me. |
Thank you for the elegant and quick solution! It's surprising that Microsoft has not been able to fix this bug for several releases. |
This is still happening with 7.058. I am going to try the work-around of using Grid as per @dan-SLT , thanks for that tip. I've converted number of stacks to grids to work around other layout issues. |
Can confirm this is still an issue with 7.0.59. |
It is still broken in 7.0.59 please reopen this bug. The workaround to wrap it around the grid breaks all other platforms. |
Yes, this is still broken, why is this issue closed? |
Hello lovely human, thank you for your comment on this issue. Because this issue has been closed for a period of time, please strongly consider opening a new issue linking to this issue instead to ensure better visibility of your comment. Thank you! |
I noticed that this issue has been marked as "closed", even though it has not been resolved. I'm disappointed that after 9 months, this issue has not been addressed and fixed. I understand that there are many requests, but this issue is still present and negatively impacting the functionality of the product. |
Sorry folks, I honestly thought that #11357 had fixed this because when I followed the repro steps, the repro app was working just fine. Turns out the repro app had been updated to add a workaround to the bug. Reopening this now. |
@hartez |
When can we (finally) expect a fix for this bug? |
It looks like this should fix it - #14302 |
still present and solved with @samirgcofficial workaround |
Hello lovely human, thank you for your comment on this issue. Because this issue has been closed for a period of time, please strongly consider opening a new issue linking to this issue instead to ensure better visibility of your comment. Thank you! |
@fgiacomelli this fix wasn't release yet, should be in the next net8 preview4 |
So, this issue won't be addressed for those of us who will target .net 7 until .net 8 is officially released in November? |
Can we not backport the fix @rmarinho ? |
It's marked as suggested to backport, but we didn't reach to talk about this one yet. |
@rmarinho |
@FM1973 is EXACTLY right and this is not a minor issue with minimum impact. In my experience, |
This bug is the reason I don’t have confidence in .Net MAUI |
Description
Pull down - https://github.com/dotnet-presentations/dotnet-maui-workshop and run Finish project folder on iOS.
Notice that it is spanning of the page and overlapping the buttons.
Steps to Reproduce
Pull down - https://github.com/dotnet-presentations/dotnet-maui-workshop and run Finish project folder on iOS.
Notice that it is spanning of the page and overlapping the buttons.
Version with bug
Release Candidate 3 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS All
Did you find any workaround?
Remove refresh view
Relevant log output
No response
The text was updated successfully, but these errors were encountered: