Skip to content
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

Just call Arrange to set the Frame #8569

Merged
merged 5 commits into from Jul 8, 2022
Merged

Conversation

PureWeen
Copy link
Member

@PureWeen PureWeen commented Jul 6, 2022

Description of Change

The following PR added a SetNeedsLayout call that will propagate up to the FlyoutHeader container during LayoutSubviews. This causes an infinite loop so this stops the call to SetNeedsLayout if the call comes from LayoutSubviews

I doubt this is the best fix but it's the fix that gets it back to not crashing. The best fix will come once this issue is fixed #8568

Issues Fixed

Fixes #8146

Testing info

We have tests for this but we're still figuring out why shell tests don't run on CI .

@PureWeen PureWeen linked an issue Jul 6, 2022 that may be closed by this pull request
@PureWeen PureWeen force-pushed the fix_shell_flyout_header_ios branch from 4122108 to 03993fc Compare July 7, 2022 02:28
@PureWeen PureWeen marked this pull request as draft July 7, 2022 02:34
@PureWeen PureWeen changed the title Skip SetNeedsLayout if called from LayoutSubViews Just call Arrange to set the Frame Jul 7, 2022
@PureWeen PureWeen requested a review from hartez July 7, 2022 04:55
@PureWeen PureWeen marked this pull request as ready for review July 7, 2022 04:55
@jsuarezruiz jsuarezruiz added area/shell 🐢 Shell Navigation, Routes, Tabs, Flyout t/bug Something isn't working labels Jul 7, 2022
@PureWeen PureWeen merged commit faaff33 into net6.0 Jul 8, 2022
@PureWeen PureWeen deleted the fix_shell_flyout_header_ios branch July 8, 2022 01:10
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/shell 🐢 Shell Navigation, Routes, Tabs, Flyout t/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FlyoutHeader hangs ios application on startup
3 participants