Implement react joyride across multiple pages as a continuos tour #756
-
Hi! - what would be the best way to make a tour that goes through different pages. e.g. the tour starts at the home page, then it points to one of the options in the navbar menu, next, it asks users to click a button to go to a different page which is a sibling of the home page, etc. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
hey @nenadev21 You should have the Joyride set up in the root component (and probably only renders it if the user never took the tour). Check the Controlled example in the demo: |
Beta Was this translation helpful? Give feedback.
-
@gilbarbara I want the continuous tour through different pages while the tour. |
Beta Was this translation helpful? Give feedback.
-
Hi @gilbarbara! Hope you're doing great. I'm trying to implement react-joyride but I'm facing a problem I couldn't solve. What you have in "Wrapper", I've put in my initial screen (is that ok?) And here is my "RouteA" screen. On line 155 is the target for the task. Please, if you need any other info just let me know. Thanks in advance and sorry for the lenth of the msg 😅 |
Beta Was this translation helpful? Give feedback.
Hey @jonamonti
Is the Joyride still mounted when you navigate to the other route?
From what I understood, it is rendered in one of the routes, so when you navigate to the other route, does it gets unmounted?
Try moving it to the App instead.