Skip to content

Native scrolling (scrollbar and keyboard) is blocked/prevented during lenis scroll animation #107

@thasmo

Description

@thasmo

Describe the bug
During the lenis scroll animaton, scrolling via scrollbar or keyboard shortcut (scrollbar) is blocked/prevented (by lenis). In other words, the scroll animation, triggered/executed by lenis, can not be interrupted/cancelled by native scrolling via scrollbar or space bar.

Imo when scrolling natively (via scrollbar, spacebar, etc.) the current scroll animation should be cancelled/stopped immediately to give the user control over the scroll experience/behavior.

To Reproduce
codepen

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions