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

Ensure that using the AndExpand Grid hack doesn't null out BindingContext #4455

Merged

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Feb 1, 2022

The AndExpandLayoutManager is de-parenting child controls each time it measures/lays out the children after the first pass.

These changes modify the AndExpandGrid to avoid de-parenting the controls during the Clear() operation.

Fixes #3970

@mattleibow mattleibow changed the base branch from main to release/6.0.2xx-preview13 February 2, 2022 16:50
@mattleibow mattleibow requested a review from a team as a code owner February 2, 2022 16:50
@mattleibow mattleibow changed the base branch from release/6.0.2xx-preview13 to main February 2, 2022 16:50
@hartez hartez changed the base branch from main to release/6.0.2xx-preview13 February 2, 2022 16:53
@Redth Redth changed the base branch from release/6.0.2xx-preview13 to main February 2, 2022 17:00
@Redth Redth changed the base branch from main to release/6.0.2xx-preview13 February 2, 2022 17:00
@hartez hartez force-pushed the preserve-bindingcontext-andexpand branch from 52d5e3f to 57d5cae Compare February 2, 2022 17:06
Co-authored-by: Jonathan Dick <jodick@microsoft.com>
@mattleibow mattleibow merged commit b7da5ac into release/6.0.2xx-preview13 Feb 2, 2022
@mattleibow mattleibow deleted the preserve-bindingcontext-andexpand branch February 2, 2022 18:00
@mattleibow mattleibow added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label Feb 3, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 22, 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.

None yet

4 participants