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

[BUG] Maximum call stack size exceeded error when using delay and ease function #2589

Closed
bradlc opened this issue Mar 22, 2024 · 1 comment · Fixed by #2597
Closed

[BUG] Maximum call stack size exceeded error when using delay and ease function #2589

bradlc opened this issue Mar 22, 2024 · 1 comment · Fixed by #2597
Labels
bug Something isn't working

Comments

@bradlc
Copy link

bradlc commented Mar 22, 2024

Since v11.0.11 a Maximum call stack size exceeded error is thrown when:

  • A delay is defined and the animation has not yet started because the delay has not been exceeded, and
  • An ease function is used, and
  • The animation is interrupted

Above is my understanding of the circumstances in which the error occurs, but you can check out the reproduction to verify:

CodeSandbox Reproduction

Steps to reproduce:

  1. Click the "Toggle Size" button
  2. Click the "Toggle Size" button again before the animation starts (i.e. within 2 seconds)

Expected (v11.0.10)

CleanShot.2024-03-22.at.12.21.33.mp4

Actual (>= v11.0.11)

CleanShot.2024-03-22.at.12.20.50.mp4
@bradlc bradlc added the bug Something isn't working label Mar 22, 2024
@pklada
Copy link

pklada commented Mar 23, 2024

Ran into this today too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants