lottie-react icon indicating copy to clipboard operation
lottie-react copied to clipboard

goToAndStop takes to time position in seconds not frames

Open danieltkach opened this issue 1 year ago • 0 comments

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.

danieltkach avatar Aug 24 '23 00:08 danieltkach