marquee icon indicating copy to clipboard operation
marquee copied to clipboard

fix: resolve the inconsistent animation speed issue

Open zehratok opened this issue 1 year ago • 5 comments

In the screen where I used the marquee animation, the animation speed was inconsistent (either too slow or too fast) when navigation movements occurred or when the app state changed. To address this, I replaced the useFrameCallback with useEffect and requestAnimationFrame to adjust the animation speed, and this worked successfully for me.

zehratok avatar Dec 31 '23 13:12 zehratok

I'm also facing this issue whenever I use refreshControl the speed of marquee increases @zehratok I used your code now it's fixed Thanks

itzyashh avatar Jan 11 '24 06:01 itzyashh

I'm also facing this issue whenever I use refreshControl the speed of marquee increases @zehratok I used your code now it's fixed Thanks

I'm glad I could help you solve your problem. Just remember that without the reanimated v3, this package may cause crashes. I experienced that myself :)

zehratok avatar Jan 15 '24 15:01 zehratok

@zehratok This change causes a laggy feel for me if the data is consistently updating inside the child

satheshrgs avatar Mar 26 '24 08:03 satheshrgs

@zehratok This change causes a laggy feel for me if the data is consistently updating inside the child

use this package @homielab/react-native-auto-scroll

itzyashh avatar Mar 26 '24 09:03 itzyashh

I also facing same issue , Sometime speed increase and sometime decrease .

Version : "@animatereactnative/marquee": "0.2.0"

ZainaliSyed avatar May 29 '24 05:05 ZainaliSyed

This was released in 0.3.0-0.3.1. Thanks everyone!

catalinmiron avatar Nov 08 '24 14:11 catalinmiron