Problem with React Joyride on production Cannot read properties of undefined (reading '0') #850
-
We decided to implement a simple onboarding tour on our application, everything was going well on local but once we deploy it to production its crashing showing the next error on devtools:
it's kind of hard to debug this and see what it's the problem because its more like a production bug/error that like the console show its and undefined and by logic will crash too on local, but this it's not the case The error is caused after we pass the first step like you can see on this video(also you can se how it's working locally: low.resolution.reactjoyride.movThey way the joyride its implemented consists on two big keys
which its a simple wrapper that contains all the logic to rehuse the same component across the app and the other one it's the custom tooltip component:
I don't know if anyone have experience with a similar issue, I google it and search all across SO and the issues here and no results. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
You can try to set a |
Beta Was this translation helpful? Give feedback.
-
Does anyone have a solution? I also met this problem. |
Beta Was this translation helpful? Give feedback.
-
Having the same problem with next 13 only at production builds. |
Beta Was this translation helpful? Give feedback.
-
You can read about the workaround here. |
Beta Was this translation helpful? Give feedback.
You can read about the workaround here.