Replies: 1 comment
|
Actually figured out a solution where I wrap the button with a div that has an onClick={handleScroll} that works. The button then calls nextStep within that div and it works to advance step and scroll to top. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello - does anyone know how to scroll to the top of each step? I have some long forms and would be nice if each step scrolled to the top. Thanks!
All reactions