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
4d6733d86e
commit
3604df8163
@@ -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