nckprsn / scrollme

A jQuery plugin for adding simple scrolling effects to web pages.
1.47k stars 319 forks source link

Element in final position before animations starts - jumpy animations #43

Open grobear311 opened 7 years ago

grobear311 commented 7 years ago

I'm having an issue where the element being animated starts at the end position of the animation, and as you scroll it jumps to the start and then finishes.

<div class="image-placeholder scrollme animateme" data-crop="false" data-when="enter" data-from="0.8" data-to="0.0" data-translatey="200">
    <div class="img" style="background: url(<?php the_sub_field('image'); ?>) no-repeat center center / cover; min-height: 400px;"></div>
</div>

For example. The image starts at 0.0, jumps to 0.8, and then finishes at 0.0, thus creating a jumpy animation. What can I do to fix this?

KitDevUA commented 4 years ago

Hi from 2k20 😃 This problem is still present. Did you find a solution?