mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(ActionItem): rendering threw errors if it had a nested child. (#9821)
This commit is contained in:
committed by
GitHub
parent
3bb8fc28e9
commit
efa80c728b
@@ -423,7 +423,7 @@ export namespace xml2ui {
|
||||
if (componentModule) {
|
||||
this.sourceTracker(componentModule.component, args.position);
|
||||
if (parent) {
|
||||
if (complexProperty) {
|
||||
if (complexProperty && complexProperty.parent == parent) {
|
||||
// Add component to complex property of parent component.
|
||||
ComponentParser.addToComplexProperty(parent, complexProperty, componentModule);
|
||||
} else if ((<any>parent.component)._addChildFromBuilder) {
|
||||
|
||||
Reference in New Issue
Block a user