Closed LewisSmallwood closed 1 year ago
Should have mentioned this was on version 2.4.1.
The fix for this was:
onLoaded() {
super.onLoaded();
if (this._child && !this._child.nativeView.isDescendantOfView(this._native)) {
this._addView(this._child);
this._native.addSubview(this._child.nativeView);
}
}
But it has already been resolved in 2.4.4 when migrating to the content view.
See attached error log. I can fix this by checking if the child already has a parent before calling this code.