Skip to content

Commit 150c1ce

Browse files
committed
fix(renderer): use _eachChildView for nextSibling
1 parent 83b8bcf commit 150c1ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: nativescript-angular/animations/animation-engine.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class NativeScriptAnimationEngine extends DomAnimationEngine {
9090
// find all of the children that are currently animating and clear
9191
// them out by destroying each of them.
9292
let elms = [];
93-
element._eachLayoutView(child => {
93+
(<any>element)._eachChildView(child => {
9494
if (cssClasses(<NgView>child).get(MARKED_FOR_ANIMATION)) {
9595
elms.push(child);
9696
}

Diff for: nativescript-angular/view-util.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export class ViewUtil {
211211
let index = 0;
212212
let found = false;
213213

214-
parent._eachLayoutView(child => {
214+
(<any>parent)._eachChildView(child => {
215215
if (child === node) {
216216
found = true;
217217
}

0 commit comments

Comments
 (0)