Skip to content

Disable iterationDelay delay on the beginning of animation#324

Merged
oblador merged 1 commit intooblador:masterfrom
HishamMubarak:patch-1
Oct 26, 2023
Merged

Disable iterationDelay delay on the beginning of animation#324
oblador merged 1 commit intooblador:masterfrom
HishamMubarak:patch-1

Conversation

@HishamMubarak
Copy link
Copy Markdown
Contributor

@HishamMubarak HishamMubarak commented Aug 6, 2020

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.

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.
@sirpy
Copy link
Copy Markdown

sirpy commented Aug 27, 2020

can we get this merged and released?

@oblador oblador merged commit 94c7aa0 into oblador:master Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants