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] Animation speed control with value -1 not playing in reverse #2947

Open
samvgm opened this issue Dec 17, 2024 · 0 comments
Open

[BUG] Animation speed control with value -1 not playing in reverse #2947

samvgm opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@samvgm
Copy link

samvgm commented Dec 17, 2024

1. Description

The animation speed control should play in reverse when the value is set to -1, but it stops instead.
https://motion.dev/docs/animate#speed

2. Codesanbox

See the example in Codepen:
https://codepen.io/samvgm/pen/vEBgMzj/005cbc0c8b90ec3555c39df894afb443

3. Steps to reproduce

  1. Define an animation
  2. Set the speed to -1
  3. Observe that the animation stops

4. Expected behavior

The animation should play in reverse when the value is set to -1.

@samvgm samvgm added the bug Something isn't working label Dec 17, 2024
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

No branches or pull requests

1 participant