react-step-wizard icon indicating copy to clipboard operation
react-step-wizard copied to clipboard

navigate between steps without the Hash.

Open ahmadkhalaf1 opened this issue 2 years ago • 1 comments

is it possible to navigate between steps without the hash ? for example : i dont want my step to be like this : www.domain.com/#intro , www.domain.com/#step2 instead , i would like to have it like www.domain.com/intro , www.domain.com/step2 , etc ...

how can we do this ?

Thanks

ahmadkhalaf1 avatar Nov 23 '22 15:11 ahmadkhalaf1

if you turn off the feature in react-step-wizard, you can implement it yourself using the api provided by the wizard component, such as goToNamedStep(). I have done this myself, using hash because I needed some additional checks to prevent navigation under certain circumstances.

fini avatar Mar 23 '23 13:03 fini