react-use-wizard icon indicating copy to clipboard operation
react-use-wizard copied to clipboard

gotToStep() fails with dynamically rendered step

Open nathanlepori opened this issue 3 years ago • 0 comments

See repro: https://codesandbox.io/embed/clever-cloud-tigmwb?fontsize=14&hidenavigation=1&theme=dark

After clicking "Add step" it's not possible to navigate to step "four". Step count is not correctly set inside goToStep(). nextStep() and previousStep() work fine.

nathanlepori avatar Jul 31 '22 20:07 nathanlepori