added scrolltop
This commit is contained in:
@@ -91,7 +91,8 @@ const RepComplete = (props) => {
|
|||||||
: props.props.currentView.caseReference
|
: props.props.currentView.caseReference
|
||||||
.representationType,
|
.representationType,
|
||||||
}),
|
}),
|
||||||
setRepresentationMessageSent(true));
|
setRepresentationMessageSent(true)),
|
||||||
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
||||||
});
|
});
|
||||||
return (
|
return (
|
||||||
<div id="rep-appellant">
|
<div id="rep-appellant">
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ let CompleteAppeal = (props) => {
|
|||||||
console.log("patching///////////////");
|
console.log("patching///////////////");
|
||||||
//
|
//
|
||||||
//patchCase(incidentId);
|
//patchCase(incidentId);
|
||||||
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
||||||
}, [
|
}, [
|
||||||
props.appealType.caseReference,
|
props.appealType.caseReference,
|
||||||
props.props.form.appealForm.values,
|
props.props.form.appealForm.values,
|
||||||
|
|||||||
Reference in New Issue
Block a user