Skip to content

Parallax Scroll Snap #1608

Open
Open
@geoyws

Description

@geoyws

🚀 Feature Proposal

Just like CSS Scroll Snap, but for react-spring's Parallax.

Because ParallaxLayers are position: absolute, CSS Scroll Snap can't work for them. Example here.

I'd like to propose that we perhaps follow the CSS Scroll Snap API and implement it for react-spring's Parallax.

Motivation

This would greatly help developer productivity. 😄

Example

<Parallax scrollSnapType="mandatory">
    <ParallaxLayer scrollSnapAlign="start">...</ParallaxLayer>
</Parallax>

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: requestNew feature or request that should be actioned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions