Hi !
I’m trying to build a “while scrolling in view” interaction (you can find it on “scrolling div” class) and I struggle to make it clean. I hope you can help me with 2 issues I experimented :
-
Firstly, when I add smoothing to the interaction (and it’s quite necessary to me), all icons are moving very fast somewhere only we know
at first scroll (they are crossing the screen very fast and it’s ugly). When I don’t add smoothing, there is no issue.
-
Secondly, the “contact BG” icon is on the screen before we scroll and then disapears. From what I tested, it’s because, the last position I gave him during the interaction is where he stands. But there is no way i can give him another position to finish my interaction since he has to finish there. Set up the class doesn’t change anything, interaction seems to overwrite everything (opacity, transformation…).
Thanks for your help, would be really helpful
PS : For those who want to understand what I made. I used “Axis xxxx” class to rotate each icons around the center of axis (it’s also the center of my logotype). I also rotate each icons at the same time to allow them to stay straight.
Here is my public share link: (Webflow - Anjo Transport)