Closed brandonmp closed 7 years ago
+1
Sorry, but I'm not sure exactly what you're saying. Can you give a bit of an example with some code?
@IanVS - he says that the stepIndex
parameter isn't working - setting it to whatever value does not have effect.
yup seeing the same problem
This will be fixed in V2 with controlled/uncontrolled tours
There is a check in componentWillReceiveProps
, but in componentDidMount
start method is called without the stepIndex parameter
Maybe this issue should be left opened until it's fixed or implemented in v2
It seems that stepIndex use is fixed by changing &&
to ||
at line 176 and commenting out line 222, but this may break other scenarios
On clicking next button, the toggleTooltip
method is called twice, once with next
action and second time with jump
action. Executing the later one doesn't open tooltip.
In V2 the stepIndex parameter is ignored on tour start. Is there a way to start on a specific step without patching the src?
Setting
stepIndex
to, say,3
in the demo doesn't seem to affect the starting step. Checkingreact devtools
show that Joyride recognizes itsprops.stepIndex
as3
, but seems to have no effect.