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

Show URL path of the steps - (show using a working react-router example) #129

Open
alex84G opened this issue Dec 5, 2018 · 4 comments
Open
Labels
Enhancement UpVotes Needed If you like this feature request, please upvote

Comments

@alex84G
Copy link

alex84G commented Dec 5, 2018

Hi,
is it possible to show the URL path of each step in the address bar of the browser? Or can stepzilla be mixed with React Router to show the URL paths of the steps?

@newbreedofgeek newbreedofgeek added Help Wanted Waiting for OP Waiting for Original Poster to respond labels Jan 25, 2019
@newbreedofgeek
Copy link
Owner

Good question... I believe it will be possible by just using the browser's history API and hooking directly into onStepChange, but I cant confirm. You may be able to directly use RaactRouter API as well.

https://github.com/newbreedofgeek/react-stepzilla/blob/master/src/examples/Example.js#L61

Let me know if you work it out and give us some code example, i'd like to have an example implementation with React Router.

@newbreedofgeek newbreedofgeek changed the title Show URL path of the steps Show URL path of the steps - (show using a working react-router example) Jan 28, 2019
@newbreedofgeek
Copy link
Owner

I'll mark this as a enhancement as we always wanted a react-router example as well. I'll keep this open.

@newbreedofgeek newbreedofgeek added Enhancement Investigating UpVotes Needed If you like this feature request, please upvote and removed Help Wanted Waiting for OP Waiting for Original Poster to respond Investigating labels Jan 28, 2019
@ghost
Copy link

ghost commented Mar 14, 2019

Would be really great!

@TheAksh
Copy link

TheAksh commented Dec 9, 2019

Any update on this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement UpVotes Needed If you like this feature request, please upvote
Projects
None yet
Development

No branches or pull requests

3 participants