You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Animate css loop count not correct under certain conditions? #7712
changed the title [-]animate css count not correct under curtain conditions?[/-][+]animate css loop count not correct under certain conditions?[/+]on Aug 22, 2019
changed the title [-]animate css loop count not correct under certain conditions?[/-][+]Animate css loop count not correct under certain conditions?[/+]on Aug 22, 2019
@7ammer thanks for the update. It seems that the issue is happening only on Android (on iOS it is working as expected). I've tried with final number of iterations (e.g 5) but again on Android, the animation is executed only twice.
Marking this one as a bug - keep track on the issue for further details and related information.
Steps to reproduce: Use the keyframe animation (in app.css) from the Playground demo.
Result: The animation will be executed only twice on Android
Expected: To work as it does on iOS where the animation never stops.
Activity
[-]animate css count not correct under curtain conditions?[/-][+]animate css loop count not correct under certain conditions?[/+][-]animate css loop count not correct under certain conditions?[/-][+]Animate css loop count not correct under certain conditions?[/+]NickIliev commentedon Aug 30, 2019
@7ammer the demo Playground project is missing (probably incorrect link)
7ammer commentedon Aug 30, 2019
@NickIliev my bad! I've updated the link on the OP.
NickIliev commentedon Aug 30, 2019
@7ammer thanks for the update. It seems that the issue is happening only on Android (on iOS it is working as expected). I've tried with final number of iterations (e.g 5) but again on Android, the animation is executed only twice.
Marking this one as a bug - keep track on the issue for further details and related information.
Steps to reproduce: Use the keyframe animation (in
app.css) from the Playground demo.Result: The animation will be executed only twice on Android
Expected: To work as it does on iOS where the animation never stops.
NickIliev commentedon Aug 30, 2019
As an additional observation, it seems that the issue is happening only with transform
For example. if we use the following keyframe it will stop rotating but won't stop changing the color
the same with another transform functionality as
scaleXsan3k1990 commentedon Sep 11, 2019
I have same problem. Is there any intermediate solution?
7ammer commentedon Sep 11, 2019
@san3k1990,
If you can use the programatic solution then that would be best for now.
jamescodesthings commentedon Oct 14, 2020
As per this SO: https://stackoverflow.com/questions/59637102/nativescript-rotate-animation-with-infinite-iteration-not-working
I've got
animation-iteration-count: infinite;for rotate working on android and iOS using:fix(core): animation iteration correct for android css animations and…
fix(core): animation iteration correct for android css animations and…
fix(core): animation iteration correct for android css animations and…
fix(core): animation iteration correct for android css animations and…
fix(core): animation iteration correct for android css animations and…
fix(core): animation iteration correct for android css animations and…