-
Notifications
You must be signed in to change notification settings - Fork 25
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
Layout cycle detected when resizing a view that has a NavigationView and TabBar #1131
Comments
Interesting, I tried to resize super fast and I was able to see the TabBar for 1 second before the app crashes. |
Good news, the utu:AutoLayout is the cause the crash. If you replace utu:AutoLayout with StackPanel, there is no crash however, the rendering is not what to expect. At least, it can help investigate the issue. |
Yes @kazo0 also noticed the same thing with his tests. We will continue to investigate. Thank you for the feedback @ArchieCoder, appreciated. |
…ould go into an invalidation loop. fixes #1131
Cause of the bug has been found and this PR should fix it: #1138 Thanks @ArchieCoder for reporting this bug! cc @kazo0 |
Current behavior
When the view gets smaller, an exception is fired and the app crashes
Expected behavior
No crash
How to reproduce it (as minimally and precisely as possible)
UnoTabApp.zip
or
1- Create a new project with the default option (Fluent and Materal, it's irrevelant).
2- Copy paste the page content of the HomePage from Commerce app. The goal is to test the NavigationView + Tab bar. Fix the namespaces.
3- Deploy and resize the app.
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
5.2.121
Affected platforms
Windows (WinAppSDK)
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: