You can change routes/click outside the beacon #638
-
Start the tour -> the beacon appears -> click anywhere outside the beacon (you can change routes/open menus/etc.) Is there any way to disable clicking outside of it? Or a way to cancel the tour if the user clicks outside the beacon? |
Beta Was this translation helpful? Give feedback.
Answered by
gilbarbara
Jan 26, 2021
Replies: 1 comment
-
hey @iamalextodoran This library doesn't know what's happening in the rest of your app, so it can't control its own state in these conditions. You can lift the tour state up in the component tree and change the |
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 @iamalextodoran
This library doesn't know what's happening in the rest of your app, so it can't control its own state in these conditions.
You can lift the tour state up in the component tree and change the
run
prop when some of these changes happen.