Merged PR 1142: added scroll top to next step
added scroll top to next step Related work items: #11055
This commit is contained in:
@@ -461,6 +461,7 @@ let AboutYou = (props) => {
|
|||||||
const onHandleSubmit = (values) => {
|
const onHandleSubmit = (values) => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
console.log(JSON.stringify(values));
|
console.log(JSON.stringify(values));
|
||||||
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
||||||
setFormStep(1);
|
setFormStep(1);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user