We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1e2029 commit a93c771Copy full SHA for a93c771
packages/angular/src/lib/nativescript-renderer.ts
@@ -268,7 +268,7 @@ class NativeScriptRenderer implements Renderer2 {
268
if (NativeScriptDebug.enabled) {
269
NativeScriptDebug.rendererLog(`NativeScriptRenderer.removeChild child: ${oldChild} parent: ${parent}`);
270
}
271
- this.viewUtil.removeChild(parent, oldChild);
+ this.viewUtil.removeChild(parent ?? oldChild.parentNode, oldChild);
272
273
selectRootElement(selectorOrNode: any, preserveContent?: boolean) {
274
0 commit comments