Просмотр исходного кода

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 лет назад
Родитель
Сommit
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) => {