Skip to content

Commit

Permalink
[FIX] Don't scroll to top on permit conditions page (#3408)
Browse files Browse the repository at this point in the history
* don't scroll to top on permit conditions page

* update snap
  • Loading branch information
taraepp authored Feb 6, 2025
1 parent 01ba33e commit dcb0a6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const ConditionForm = (props) => {
<Col span={formSpan}>
<FormWrapper
name={FORM.CONDITION_SECTION}
scrollOnToggleEdit={false}
reduxFormConfig={{
onSubmitSuccess: resetForm(FORM.CONDITION_SECTION),
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ exports[`ConditionForm renders properly 1`] = `
"onSubmitSuccess": [Function],
}
}
scrollOnToggleEdit={false}
>
<Field
component={[Function]}
Expand Down

0 comments on commit dcb0a6a

Please sign in to comment.