Skip to content

Animation is finished before element reaches viewport #65

@ehofmann95

Description

@ehofmann95

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions