Can I make the tour progress match only visible targets? #896
-
Hi. I'm looking for a straightforward solution to the following problem. Say, I have a permission gate in place that does not render a button if a user does not have required privileges. Yet, the button (if it's rendered) is a target for one of the tour steps. Currently,
But here is the problem. Say, I have 5 targets (i.e. 5 steps) on the page. The "Delete" button, for instance, is the 3rd target, and it's not visible (I have no privileges to see and use it). When I click "Next", the tour jumps from the 2nd step straight to the 4th, thus showing me the progress like this The question is if it's possible to override this behaviour so that I can see only 4 steps in the tour progress if one target is not visible (rendered) without turning Joyride into P.S. I'm pretty sure this problem can be resolved by turning Joyride into
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @NazarPo The only option I see is not to include the step if the user cannot view it. |
Beta Was this translation helpful? Give feedback.
Hey @NazarPo
The only option I see is not to include the step if the user cannot view it.