diff --git a/core/src/utils/animation/animation.ts b/core/src/utils/animation/animation.ts index 68223747d9..ebd8e612e3 100644 --- a/core/src/utils/animation/animation.ts +++ b/core/src/utils/animation/animation.ts @@ -180,7 +180,7 @@ export const createAnimation = (): Animation => { let afterStylesValue: { [property: string]: any } = {}; let webAnimations: any[] = []; - const onFinishCallbacks: any[] = []; + let onFinishCallbacks: any[] = []; let numAnimationsRunning = 0;