react-stepzilla icon indicating copy to clipboard operation
react-stepzilla copied to clipboard

Is it possible to programatically change step outside of component?

Open JeanHules opened this issue 7 years ago • 4 comments

I have a navigation outside of the StepZilla component that corresponds with the steps, but need to control the steps from outside the StepZilla component. I see the jumpToStep utility, but that can only be triggered from inside.

Thanks and great job on the component!

JeanHules avatar Feb 05 '19 17:02 JeanHules

Maybe with jumpToStep() ?

rickerd-treehouse avatar Mar 08 '19 15:03 rickerd-treehouse

jumpToStep() can only be called inside step component. I do believe this is a limitation of StepZilla, I ran into the same situation, even though I can work around by passing jumpToStep() outside but it's a ugly solution. No official solution so far. This is a very common use case.

nttoan26 avatar Aug 21 '19 11:08 nttoan26

Are there some news about this problem/limitation ?

valefumiwlf46 avatar Dec 10 '19 11:12 valefumiwlf46

jumpToStep() can only be called inside step component. I do believe this is a limitation of StepZilla, I ran into the same situation, even though I can work around by passing jumpToStep() outside but it's a ugly solution. No official solution so far. This is a very common use case.

how did you manage to do that.. please help! @nttoan26

taruntrivedi avatar Apr 14 '20 12:04 taruntrivedi