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

Add check to ensure measurement for AndExpandLayoutManager #10813

Merged
merged 1 commit into from
Oct 21, 2022
Merged

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Oct 20, 2022

Description of Change

The AndExpandLayoutManager doesn't have a check to ensure measurement when old-style controls/layouts force a layout without properly doing a measurement pass. These changes add the check to avoid a NullReferenceException, and an automated test to watch for this in the future.

Issues Fixed

Fixes #8816

@Eilon Eilon added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label Oct 20, 2022
@hartez hartez added this to the .NET 7 + Servicing milestone Oct 21, 2022
@rmarinho rmarinho merged commit 3624d88 into main Oct 21, 2022
@rmarinho rmarinho deleted the fix-8816 branch October 21, 2022 11:13
@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with AndExpandLayoutManager in converted application
3 participants