Hello, I’m having trouble getting the parallax scroll component to work in my Next codegen project. I get the error Unhandled Runtime Error *Error: Scroll Parallax can only be instantiated somewhere inside the Parallax Provider*
I have a call to registerGlobalParallaxProvider
in my plasmic-host and in my plasmic config I have set "globalContextsFilePath"
for the parallax components. to the GlobalContextProvider
. What am I missing?
Hello Jay! Each page that uses the parallax will require being wrapped by GlobalContextsProvider, by default the plasmic-generated pages will already be wrapped ( docs ) but a non-plasmic page would require adding this manually
this wrap doesn’t need to be directly on the page, could also be somewhere else on the application