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

Don't propagate VE.Frame changes back down to the Handler #22347

Merged
merged 3 commits into from May 15, 2024

Conversation

PureWeen
Copy link
Member

@PureWeen PureWeen commented May 11, 2024

Description of Change

The Height and Width Property aren't really meant to propagate back down to the handler. These properties are only set when the platform code updates the VisualElement.Frame property, indicating what the actual width and height of the platform element are. WidthRequest and HeightRequest are the properties that we use to propagate changes down to the Handler and those will still propagate down via the OnRequestChange calls

Issues Fixed

Fixes #22271

@PureWeen PureWeen requested a review from mattleibow May 13, 2024 14:35
@Eilon Eilon added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label May 13, 2024
@PureWeen PureWeen added area-controls-general General issues that span multiple controls, or common base classes such as View or Element and removed area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter labels May 15, 2024
@PureWeen PureWeen marked this pull request as ready for review May 15, 2024 15:23
@PureWeen PureWeen requested a review from a team as a code owner May 15, 2024 15:23
@PureWeen PureWeen requested a review from jsuarezruiz May 15, 2024 15:23
@PureWeen PureWeen changed the title Fix frame ping Don't propagate VE.Frame changes back down to the Handler May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-general General issues that span multiple controls, or common base classes such as View or Element
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't propagate handler updates when updating the Frame inside VisualElement
3 participants