Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Make sure ScrollViewRenderer on Android is resolving layout changes #15076

Merged
merged 1 commit into from
Jan 24, 2022

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Jan 20, 2022

Since ScrollViewRenderer does not inherit from VisualElementRenderer, it was not inheriting the override which resolves layout changes before a measure/layout pass.

This change overrides OnMeasure to handle that.

Fixes #15066
Proposing this as an alternative to #15067.

@jfversluis jfversluis mentioned this pull request Jan 20, 2022
2 tasks
@radioactiveman
Copy link

Tested and verified to fix #14918 as well, thanks. 👍

@jfversluis
Copy link
Member

Thanks @radioactiveman !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] StackLayout's layout inside ScrollView is not updated properly when adding children
4 participants