Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable iterationDelay delay on the beginning of animation #324

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

HishamMubarak
Copy link
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

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