locomotive-scroll
locomotive-scroll copied to clipboard
Data-scroll-section element appears/flashes in middle of viewport when it should be hidden
https://monosnap.com/file/SDvbN26SJkqEmS61pHtKMmbyR3ad7x
Data-scroll-section element appears/flashes in middle of viewport when it should be hidden
The transform attribute is reset to 0 at the same time that the inview attribute is removed, so the element returns to the center of the viewport before fading to 0.
Solved– never put an opacity transition on your [data-scroll-section]
elements!
Thanks a lot !!!