After closing the tooltip by using ESC or the close button, when I restart the tour, how do I start from the begining? #656
Replies: 1 comment 2 replies
-
I tried to manage the state myself by setting stepIndex and now I cannot restart the tour any more once it is closed (by ESC, close button). Any idea? const [state, setState] = useState({ run: true, stepIndex: 0 }); // override the callback
}; |
Beta Was this translation helpful? Give feedback.
-
It seems the current behavior is continue from the last tour step number. Thanks!
I am using a custom tooltip component and version 2.2.1.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions