mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix: register layout child for nested custom components (#7230)
This commit is contained in:
committed by
Manol Donev
parent
a345a14a8b
commit
888fc5740f
@@ -136,6 +136,10 @@ export class GridLayout extends GridLayoutBase {
|
||||
|
||||
this.eachLayoutChild((child, last) => {
|
||||
let measureSpecs = this.map.get(child);
|
||||
if (!measureSpecs) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.updateMeasureSpecs(child, measureSpecs);
|
||||
this.helper.addMeasureSpec(measureSpecs);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user