diff --git a/nativescript-angular/animations/animation-engine.ts b/nativescript-angular/animations/animation-engine.ts index aa934928b..fe29f4ac2 100644 --- a/nativescript-angular/animations/animation-engine.ts +++ b/nativescript-angular/animations/animation-engine.ts @@ -90,7 +90,7 @@ export class NativeScriptAnimationEngine extends DomAnimationEngine { // find all of the children that are currently animating and clear // them out by destroying each of them. let elms = []; - element._eachLayoutView(child => { + (element)._eachChildView(child => { if (cssClasses(child).get(MARKED_FOR_ANIMATION)) { elms.push(child); } diff --git a/nativescript-angular/view-util.ts b/nativescript-angular/view-util.ts index 6408ca1bb..5c7d6d145 100644 --- a/nativescript-angular/view-util.ts +++ b/nativescript-angular/view-util.ts @@ -211,7 +211,7 @@ export class ViewUtil { let index = 0; let found = false; - parent._eachLayoutView(child => { + (parent)._eachChildView(child => { if (child === node) { found = true; }