Closed rahuuzz closed 2 years ago
Thanks for the easy reproduction -- I'll work on a fix this week.
Fix published in v3.0.4. Let me know if there's any other issue.
ahh, remove the lockfile, the issue was in the dependency and it's probably still using the old version. https://codesandbox.io/s/vigilant-hofstadter-rhthqo?file=/package.json
Actual Behavior (bug)
state update is causing parallax to reset to initial after reaching endScroll. An example for demo code can be found here
Expected Behavior
Expecting to prevent resetting the transformations done by react-scroll-parallax after endScroll position.
Steps to Reproduce the Problem
Environment