Преглед на файлове

Merge pull request #1276 from porter-dev/por-65-autoscroll-to-top-after-clicking

[POR-65] autoscroll to top after clicking continue from source settings
abelanger5 преди 4 години
родител
ревизия
87358408b3
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      dashboard/src/main/home/launch/launch-flow/SettingsPage.tsx

+ 0 - 2
dashboard/src/main/home/launch/launch-flow/SettingsPage.tsx

@@ -54,8 +54,6 @@ class SettingsPage extends Component<PropsType, StateType> {
   };
 
   componentDidMount() {
-    window.scrollBy(0, -window.innerHeight);
-
     // Retrieve tab options
     let tabOptions = [] as ChoiceType[];
     this.props.form?.tabs.map((tab: any, i: number) => {