Skip to content

Prevent render flicker when using routeTitle #57

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

Open
berndartmueller opened this issue Feb 13, 2021 · 0 comments
Open

Prevent render flicker when using routeTitle #57

berndartmueller opened this issue Feb 13, 2021 · 0 comments

Comments

@berndartmueller
Copy link

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!

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

1 participant