Skip to content

Wrong position when scrolling up #13

Description

@tjakober

When scrolling up, the scroll position is out of view. It moves too far.
on Source code Line 55 should be:
if (elY <= pY) scrollTo(pEl, elY-pH); // scroll up
instead of
if (elY <= pY) scrollTo(pEl, elY); // scroll up

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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