Skip to content

Step won't render when coming back from another route #55

@ahmadakhmiev

Description

@ahmadakhmiev

Hi,
Thanks for great work with the wizard. I just began using it on a new react project and it works good.
I'm having one issue though. I have two pages setup with routing. When I go to another page and come back to my page with the wizard steps, it won't render the step content.

Check out this code example that reproduces the issue:
https://codesandbox.io/s/react-wizard-d33qy

Note that I have put the Wizard inside index.js, this is so that I have access to the context from everywhere. When I put the Wizard inside my actual wizard component then it works fine.

Perhaps I'm doing it wrong (after all I'm new to react) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions