lottie-react
lottie-react copied to clipboard
goToAndStop takes to time position in seconds not frames
Describe the bug Calling goToAndStop(frame, true) does not take you to the frame of the animation, it takes you to a position in seconds, whereas calling goToAndPlay(frame, true) does take you to the frame.
To Reproduce Make a call to goToAndStop(frame-number-here, true) You will see that the animation jumped to the position in seconds for the "frame-number-here" that you passed.
Expected behavior The animation should go to the frame number specified by the first parameter.