perf(animations): do not create setTimeout if infinite iterations (#19632)
perf(animations): do not create setTimeout if infinite iterations (#19632)

closes #19627
driftyco/ionic,driftyco/ionic,driftyco/ionic,driftyco/ionic,driftyco/ionic