-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Page not rendering when using SafeArea, Grid with Auto, and ScrollView #27748
Comments
I bet it's related to this I still haven't quite cracked this one :-/ |
@PureWeen The odd thing about this issue is that the same page renders on some devices but not others. We were not able to reproduce our production issue with in-house devices. So I visited a customer yesterday, who had the issue, and got it to work there. What I saw on the customer's device, was that the app froze. This was the login page so pretty critical for us and our customers. Don't think this will help in any way, but I find it kind of interesting. If you need more from me don't hesitate to reach out! |
Could be fixed by #27043? Can include:
as a sample to create an UITest verifying the UI? |
@jsuarezruiz Is this something I should respond to? |
Description
A page in our .NET MAUI application does not render properly when using a combination of SafeArea, Grid with Auto row definitions, and ScrollView. Initially, it seemed device-dependent, but the issue has been reproduced consistently with a minimal setup. Not all of our users is affected by this, but if they are it can be reproduced every time.
From what i've seen, no error is thrown and no error or warning is printed. Only the UI freezes and my guess is there is some infinite loop running in the layout process.
We have tested with dotnet 8 and 9 multiple versions.
Steps to Reproduce
Steps to reproduce:
pull and run the project
or copy paste problematic xaml
Expected Behavior:
The page should be render.
Actual Behavior:
The page does not render at all and UI thread is frozen.
Link to public reproduction project repository
https://github.com/JohnTraDolta/IOSStrangeMauiBug
Version with bug
9.0.40 SR4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
Workarounds: (do one of the following)
Change RowDefinition from Auto to *
Remove ScrollView
Remove IgnoreSafeArea="True"
Relevant log output
The text was updated successfully, but these errors were encountered: