Closed burasov-artyom closed 9 months ago
I have the same issue. Been trying to resolve it for months
I have a PR that should fix these issues: https://github.com/jscottsmith/react-scroll-parallax/pull/234
Please try v3.4.4 to see if this issue is resolved.
Problem resolved. Thanks a lot
After fixing the problem, the following error is spammed in the console
@burasov-artyom Can you provide some steps to reproduce? Guessing this happens after making changes, but I haven't been able to verify on my end.
I'm having the same issue on certain pages that don't have any Parallax components. Maybe that could be related to the issue? It works if I start on a page that has Parallax components and then navigate to another one without any with client-side routing.
Well, maybe not the same error:
Uncaught TypeError: Cannot read properties of undefined (reading 'length')
at ParallaxController._handleScroll (parallax-controller.esm.js:1064:1)
Thanks, I was able to reproduce the error. I'll look into it.
Alright, give v3.4.5
a try.
Great! Works without errors
Good afternoon. I can't use this library after moving the project from CRA to Next.js. I get an error that the provider cannot be imported, although it is added to _app.jsx.
Has anyone encountered a similar problem?
_app.jsx
parallax component
List of related npm package versions