Closed catosaurusrex2003 closed 1 year ago
Any information on how you fixed this?
Any information on how you fixed this?
i downgraded to
"next": "13.4.19",
and it fixed the issue i think.
The latest version of react-scroll-parallax should resolve these issues.
See #233
The latest version of react-scroll-parallax should resolve these issues.
See #233
Same issue with 3.4.5. Will provide snippets once I am home! Is there anyway to put the ParallaxProvider inside of the layout in Next 13?
Is there anyway to put the ParallaxProvider inside of the layout in Next 13
You must mark the component it's used in as 'use client'
before using it in the root layout. Like so:
https://github.com/jscottsmith/react-scroll-parallax-next-13-bug/blob/main/app/Providers/index.tsx
Is there anyway to put the ParallaxProvider inside of the layout in Next 13
You must mark the component it's used in as
'use client'
before using it in the root layout. Like so:https://github.com/jscottsmith/react-scroll-parallax-next-13-bug/blob/main/app/Providers/index.tsx
Thank you so much, I see now
Bug
this same code is working when i am using it in a vite-tailwind react app but it doesnt work in nextjs-tailwind app.
i have tried making the component as client component using
"use client"
in nextjs. i even tried using dynamic import to load theParallaxProvider
but no luck. i also tried wrapping the whole app inParallaxProvider
but didnt work. i triednpm
andpnpm
. didnt work.