Skip to content
This repository was archived by the owner on Feb 11, 2023. It is now read-only.

Feature Request: cancel method #499

@brandonmcconnell

Description

@brandonmcconnell

It would be great to have a method to call to forcibly cancel a scroll that has already been initiated using scroll-js. This way, if a user starts manually scrolling or performs a pointer/touch event during the scroll, I can cancel the scroll to freeze the frame at the time they trigger that event.

This would be similar to the cancelScroll method from @cferdinandi's smooth-scroll package.

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