Skip to content

Scrollama does not trigger onStepEnter when the element is fully visiable on initial load #141

@Fedik

Description

@Fedik

Script does not trigger onStepEnter (and Exit) when the element is fully visiable on initial load.
Example https://russellgoldenberg.github.io/scrollama/progress/

Open the page, scroll down, progress of both elements changes to 100%
That good.

Now scroll all way down, and refresh the page (push F5).
Browser remember last scroll position, so the page stays "fully scrolled down".
Now both elements have 0% progress, but should be 100%

Checked in Chrome, Firefox.

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