bump this. I have my interaction setup, but for some reason, the lottie animation just starts playing even though I have it set to play when scrolling in viewâŚ
[EDIT] I actually just fixed it. I simply re-targeted the lottie class interaction I had setup, and it worked fine after. Thereâs a weird bug in Webflow, where sometimes the interaction just needs to be re-targeted and it works as it should after.
I noticed your post is from a while ago, but I have the same situation currently, so I was wondering if you figured it out eventually. Please let me know.
Best.
EDIT: I figured it out for my own situation. Instead of adding the trigger-animation to the element I added it to the page, then the problem was solved.
Thanks. Worked for me as well. I was able to achieve a cool effect by stacking 2 Lottie files on each other, one with no animation using @Diarmuid_Sextonâs method. I animate the hide/show on both in reverse order whenever I want to switch states in the animation. It would be cool if they had an option in the Lottie settings to animate or not. Could do all that in Ae, but I found this an easy solution.
I have a cool Lottie file of a string dangling, but I needed it to only dangle when the banner breaks off the string being pulled by an airplane.
Unfortunately none of the above is working for me. I tried @Diarmuid_Sextonâs 9999999999 duration trick and also tried re-targeting the lotties, but it keeps playing on page load. I have an interaction setup to animated them while an element is scrolling in view, but they still play on page load.
In general, Iâve been experiencing tons of bugs trying to use lottie animations in Webflow. Webflow has crashed many times and Chrome has crashed many times when I try to edit my interaction.
Also, Iâm having a weird issue where one lottie isnât starting on the first frame. Super annoying.
Have you checked your memory usage while using Webflow? Personally, Iâve noticed that once my 16GB RAM is approaching maximum capacity, problems start to arise.
Thanks Danny. I know for sure it is a memory thing. Since you mentioned it, I just went ahead and checked and Chrome Helper (Renderer) spikes to crazy levels while I try to edit my interaction in Webflow. It goes up over 12GB of memory while I try to edit the interaction.
Iâm not sure what I can do about thisâŚI wish there was a less memory-intensive way to edit my interactions in Webflow without all of the GUI stuffâŚin my case (because Iâve been trying over and over to do this in the last two days) I already know generally what values I need to put at which keyframes in the interaction. But I only get a few seconds at most to try to enter in any new information before I get the âAw, Snapâ page as Chrome crashes.
I tried Safari and it was even worse.
Any suggestions you might have would be incredibly appreciated.
So I made a huge mistake by not looking at the fine print that you canât upgrade a MacBook Pro M1 2021âs Memory! I still get sick over it. I donât understand why they even make a 16GB model, which is considered a pro machine. It makes it so youâre unable to use pro apps in a pro way. Running Illustrator and Chrome with Webflow chews up most of my memory. Also, the macOS consumes about 3GB-5GB.
Sorry for the short rant. But with all that said, the only way Iâm able to work is by purging my RAM. You simply open up the terminal and type âsudo purge.â I use CleanMyMac X at times as well, and under âMaintenance,â thereâs the option to âFree up RAM,â which I think basically does the same thing.
Thanks so much @dannyFig. I really appreciate your help. I have a 64GB ram M1 Mac, so I thought I would be good to go! But I still got tons of Webflow and Chrome crashes.
I was trying to put something together in Webflow that must have required a lot of resources.
I went ahead and purged my RAM and restarted my computer, and then came up with a different idea for approaching my Lottie animations on this page. Iâm hopeful it will work.
I canât help but feel envious of that 64GB! Dealing with my stagnant 16GB is a complete nightmare. It looks like Iâll have to bite the bullet and take a $1K hit to get what I need.
PS: I decided to test both the âterminalâ method and âCleanMyMac.â Turns out that purging my RAM with the terminal was not reducing my âMemory Usedâ inside my activity monitor. When I initiate CleanMyMacâs Free up RAM tool, it clears 2GB-3GB.
Ok thatâs good to hear as well. I tried the sudo purge in terminal method and also didnât see any difference. Restarting my computer worked, but of course isnât something youâd want to do all the time. Iâll look into that other tool as well, thanks!