We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 596daec commit 5b4f8ffCopy full SHA for 5b4f8ff
1 file changed
nativescript-angular/view-util.ts
@@ -267,7 +267,7 @@ export class ViewUtil {
267
} else if (child.nodeName === "DetachedContainer") {
268
// Skip - DetachedContainer is... well detached from its parent
269
// Used with ListViews and other TemplatedItemsComponent views.
270
- } else if (child.nodeName === "FormattedString") {
+ } else if (child.nodeName === "FormattedString" || child.nodeName === "Span") {
271
// Removing FormattedString and its Spans from a Label throws an exception
272
} else if (isView(parent)) {
273
parent._removeView(child);
0 commit comments