oblador / react-native-animatable

Standard set of easy to use animations and declarative transitions for React Native
MIT License
9.81k stars 702 forks source link

Disable iterationDelay delay on the beginning of animation #324

Closed HishamMubarak closed 10 months ago

HishamMubarak commented 4 years ago

In the current version, when an "iterationDelay" is applied to pause the animation between iterations, the same iterationDelay is applied on the beginning of the first animation too. To apply pause/delay before the beginning of first animation, there already exists the "delay" prop.

Changes in this pull request will make sure the"iterationDelay" is only applied to the second and subsequent animations.

PS: The minor one line fix worked for me. Please take a look and let me know if I've missed any edge cases or done something wrong, I am happy to fix and resubmit the pull request in case any issues are found.

sirpy commented 4 years ago

can we get this merged and released?