Skip to content

Global enable on mobile without data-scroll-enable-touch-speed tag. #594

@23d1

Description

@23d1

Is your feature request related to a problem? Please describe.
Would love to be able to initialize with mobile always enabled globally.

Describe the solution you'd like
Rather than having to add data-scroll-enable-touch-speed to every element for a site that is intended to have parallax and so forth across devices, it would be great to be able to "force" the behavior.

Describe alternatives you've considered
Lenis + GSAP is easy to implement for this (current solution on a project), but the minified codebase is much larger (2-3x). It's actually less convenient to implement the data-scroll-enable-touch-speed on all elements, as it grows the overall HTML output code beyond the size of Lenis + GSAP in some cases.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions