Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation is finished before element reaches viewport #65

Open
ehofmann95 opened this issue Jan 30, 2020 · 1 comment
Open

Animation is finished before element reaches viewport #65

ehofmann95 opened this issue Jan 30, 2020 · 1 comment

Comments

@ehofmann95
Copy link

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

  • I have already tested, if this is a bug with this specific block - but it isn't. On this site, it works just fine: https://www.empire-riverside.de/en/rooms/

  • I have tested other blocks with animation, they come up with the same bug, if I place them close to the bottom of the page

  • First, I thought that this was a Chrome specific bug, but it also occurrs in other browsers

Do you have a solution? Thanks for your help

@kierany5
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants