I have some ‘while scrolling in view animations’ on a site header. Although I have it set to only trigger on desktop, for some reason the initial scroll action set at 0% (for example, say -100px) is applied to the elements on all the other resolutions so throws the whole design out. I thought that if you set it to only display on desktop all instances of the animations were ignored on other resolutions?
Here is my read only…
EDIT* I’ve had to move on with this design now so have disabled the animation for now.
This is something that is an old known problem. As far as I can tell it can not be addressed due to the way initial state is handled. In short initial state is always transferred and executed by elements (resulting in will-change state for a given element) even if subsequent animation is not firing.
It’s interesting because I took the idea I have used from one of the marketplace templates (one of Deni’s amazing designs) and he has it working as expected. I have scoured his work-flow and replicated it exactly but still can’t get it to work.
He’s actually got the will-change property to display a top property of 0.333 on ipad and 0.666 on mobile. How? when the animation is switched off on anything other than desktop.