Skip to content

Sometimes callback executing before scrolling has finished #55

Open
@joxerTMD

Description

@joxerTMD

Hello! I've found a little bug with callback mechanism.
In my app i'm relying on window.addEventListener('scroll', /** my super code **/ ).
I also relying on jumper's callback option, and sometimes callback executes before the last scroll event happens.
See: https://jsfiddle.net/mxqfjLge/ (I hope it will reproduce on your screen resolution)
image
i have prepared PR #56 to fix this

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