Skip to content

Prevent render flicker when using routeTitle #57

@berndartmueller

Description

@berndartmueller

Hello,

I gave routeTitle a try to persist the current step in the url to allow reloading the wizard without losing the state. It works really neat!

But.

When navigating to one of the next steps and reloading the browser window, you can notice a flicker while rendering the first step and immediately jumping to the currently active step (determined by the URL hash).

Here's a codesandbox with the replicated behaviour: https://codesandbox.io/s/wizard-custom-abstraction-forked-vx7y2

Is there a way to fix this?

Thanks a lot!

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