diff --git a/core/src/utils/animation/animation.ts b/core/src/utils/animation/animation.ts index cb3fe2cfb2..3a548e6787 100644 --- a/core/src/utils/animation/animation.ts +++ b/core/src/utils/animation/animation.ts @@ -803,7 +803,6 @@ export const createAnimation = () => { if (supportsWebAnimations) { forceDirectionValue = undefined; forceDelayValue = undefined; - progressStep(1); } else { /** @@ -823,7 +822,7 @@ export const createAnimation = () => { if (supportsWebAnimations) { update(); - progressStep(1 - step); + setAnimationStep(1 - step); } else { forceDelayValue = ((1 - step) * getDuration()!) * -1; update(false, false); @@ -834,10 +833,6 @@ export const createAnimation = () => { forceDurationValue = undefined; forceDelayValue = undefined; - - if (supportsWebAnimations) { - progressStep(1); - } }, { oneTime: true });