react-native-animatable icon indicating copy to clipboard operation
react-native-animatable copied to clipboard

Disable iterationDelay delay on the beginning of animation

Open HishamMubarak opened this issue 5 years ago • 1 comments

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.

HishamMubarak avatar Aug 06 '20 20:08 HishamMubarak

can we get this merged and released?

sirpy avatar Aug 27 '20 11:08 sirpy