Skip to content

Can a joyride tour travel from a parent component into a child and then activate elements in the child? #1129

Closed Answered by gilbarbara
kristo-baricevic asked this question in Q&A

You must be logged in to vote

Hey @kristo-baricevic

I didn't completely understand what you needed, but Joyride can't handle your state.

You'll probably need to control the joyride's state using a combination of stepIndex, run, and callback props.
Whenever you need to change something in your steps or wait for an element to be rendered, stop the tour, do whatever you need to, and start it again.

Or have multiple tours and control the run state independently.

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@kristo-baricevic

Answer selected by gilbarbara
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants