Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

navigate between steps without the Hash. #119

Open
ahmadkhalaf1 opened this issue Nov 23, 2022 · 1 comment
Open

navigate between steps without the Hash. #119

ahmadkhalaf1 opened this issue Nov 23, 2022 · 1 comment

Comments

@ahmadkhalaf1
Copy link

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

@fini
Copy link

fini commented Mar 23, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants