parallax-controller
parallax-controller copied to clipboard
🕹 Core classes and controller for creating parallax scrolling effects.
Using `startScroll` and `scrollEnd` with an element that remains visible in the window and scrolling quickly may result in the incorrect end state of the animation. [Example Codesandbox](https://codesandbox.io/s/react-scroll-parallax-target-element-stop-early-forked-wwy5rt?file=/src/App.tsx) [See issue...
Using `position: fixed` on a parallax element can cause seemingly unexpected behavior. To avoid this it is usually best to use a `targetElement` or `scrollStart` and `scrollEnd` to determine the...
Sometimes users want the animation to begin at the middle of the screen instead of at the bottom. Or they want the animation to end early before the element leaves...
Large translate effects are miscalculated depending on the height of the view.
Consider adding `speedX` and `speedY` to control movement on a single axis no matter the scroll axis. https://github.com/jscottsmith/react-scroll-parallax/issues/141