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 Grid is only using visible Views for * height/width calculations #6677

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Apr 29, 2022

Description of Change

The GridLayoutManager is ignoring Collapsed children for the purposes of measuring/arranging most things, but is accidentally using Collapsed children for computing * row/height. These changes ensure the GLM is using the correct children for that calculation.

Issues Fixed

Fixes #4671

@hartez hartez enabled auto-merge (squash) April 29, 2022 16:48
@hartez hartez changed the title Ensure Grid is only using visibile Views for * height/width calculations Ensure Grid is only using visible Views for * height/width calculations Apr 29, 2022
@Eilon Eilon added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label Apr 29, 2022
@hartez hartez merged commit f21128d into main Apr 29, 2022
@hartez hartez deleted the fix-4671 branch April 29, 2022 19:20
@mattleibow mattleibow added this to the 6.0.300-rc.3 milestone Apr 29, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 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.

Grid only renders and lays out first child
4 participants