- Issue Case
Layout was neasted
BatchCommitted event was fired earlier than parent element(Layout)
- Solution
Update children geometry when layout was updated if not LayoutCallbackEnabled
Change-Id: I9eb6550c44ebf5bafeaf045f252c9a9e2f68f0fc
base.Dispose(disposing);
}
+ protected override void UpdateLayout()
+ {
+ base.UpdateLayout();
+ if (!_layoutUpdatedRegistered)
+ {
+ foreach (var child in Element.LogicalChildren)
+ {
+ Platform.GetRenderer(child)?.UpdateNativeGeometry();
+ }
+ }
+ }
+
void OnLayoutUpdated(object sender, Native.LayoutEventArgs e)
{
DoLayout(e);