[bug]: when ParallayLayer is sticky, it disappears after start and appears at end again

Author: gagandeep-singh2404Created Jan 3, 2023Updated Jun 11, 2026
Labelskind: bugrelease: major

Which react-spring target are you using?

  • @react-spring/web
  • @react-spring/three
  • @react-spring/native
  • @react-spring/konva
  • @react-spring/zdog

What version of react-spring are you using?

9.6.1

What's Wrong?

When the ParallaxLayer is sticky, it does not work as demonstrated in the example. Between the start and end points, the Layer vanishes. It is only visible at the start and end point.

To Reproduce

In another Bug report: reaink has produced a repo where you can see the reproduced problem.

Example: https://codesandbox.io/s/parallax-part-component-layer-kg5yw0

Expected Behaviour

The layer should be sticky between the start and end value and should not disappear and reappear.

Link to repo

Example: https://codesandbox.io/s/parallax-part-component-layer-kg5yw0