Modal component joyride #998
-
When running the joyride package. The 1st step is in the page, the 2nd step is in a modal. When the user says next to the 1st step, I want the modal to open and the 2nd step to be shown. how can I do it ? |
Beta Was this translation helpful? Give feedback.
Answered by
gilbarbara
Feb 13, 2024
Replies: 1 comment
-
Hey @omerfarukaydins You'll probably need to use a controlled tour (using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gilbarbara
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @omerfarukaydins
You'll probably need to use a controlled tour (using
stepIndex
that you handle manually) and use the callback to stop the tour, open your modal, update the stepIndex, and rerun the tour.Check the controlled example in the demo.