Open
Description
🚀 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>