nckprsn / scrollme

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

Animation is finished before element reaches viewport #65

Open ehofmann95 opened 4 years ago

ehofmann95 commented 4 years ago

On this website, we embedded scrollme in some blocks.

https://www.empire-riverside.de/en

The problem is, that the voucher block animation does not work, because it has already finished when the scroll position reaches it (we are using data-when="enter").

As soon as I inspect the element, the animation works just fine.

image

Do you have a solution? Thanks for your help

kierany5 commented 4 years ago

Unfortunately it looks like this plugin is dying of death. Not much happens anymore.

I checked your website. I can see that it doesn't work as expected but when I opened dev tools to take a look, it suddenly started working. Which doesn't help. (also noticed that when I change the width/height of the page it also suddenly starts working...)

I think maybe your use case has gone slightly beyond the scope of scrollme, especially now the scrollme is pretty much unmaintained. Even if it's caused by a bug, I find it unlikely that it will be fixed in this repo I am afraid.