Animation Help

I want to replicate the same animation in this website: https://pipe.com/ If you scroll, there is animaiton of progress bar. The animation stop when the section is not in viewport and resume when in viewport. I did the same. But this animation is glitchy. Also its not working properly, when not in viewport and then scroll to again in viewport. https://stackblitz.com/edit/nextjs-xhkt9f?file=pages/index.js need help and suggestion. I used setInterval but it was not working properly so I feel requestanimationframe was better choice. Open for suggestion.
Get dilution-free capital with your revenue
Grow on your terms with fast, flexible financing. Pipe transforms recurring revenue into up-front capital for growth without dilution or restrictive debt.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server