hsnaydd/moveTo

Lazy loading images

Opened this issue · 0 comments

Hi, can you add an "step" option (like jQuery.animate) in the library to re-calculate the final position if there are lazy loading images in the page?

Eg:

step: function( now, fx ) {
   var newOffset = $target.offset().top;
   if(fx.end !== newOffset)
     fx.end = newOffset;
}

Regards