aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-30 05:04:41 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-30 05:04:41 +0800
commit9d81e069dcce24d484c02ae9ca6ec861b6146358 (patch)
treef6455847eb6cc34380edaf754f437b90246217de /packages/website/ts
parentc473a0444c429da280425b0913221fe4e4aaeb15 (diff)
downloaddexon-sol-tools-9d81e069dcce24d484c02ae9ca6ec861b6146358.tar.gz
dexon-sol-tools-9d81e069dcce24d484c02ae9ca6ec861b6146358.tar.zst
dexon-sol-tools-9d81e069dcce24d484c02ae9ca6ec861b6146358.zip
Remove extra call to scrollIntoView for wallet in onboarding
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/components/onboarding/portal_onboarding_flow.tsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
index ae331a8db..6bfa5c75f 100644
--- a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
+++ b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
@@ -227,10 +227,6 @@ class PlainPortalOnboardingFlow extends React.Component<PortalOnboardingFlowProp
const networkName = sharedConstants.NETWORK_NAME_BY_ID[this.props.networkId];
analytics.logEvent('Portal', 'Onboarding Started - Automatic', networkName, this.props.stepIndex);
this.props.updateIsRunning(true);
- // On mobile, make sure the wallet is completely visible.
- if (utils.isMobile(this.props.screenWidth)) {
- document.querySelector('.wallet').scrollIntoView();
- }
}
}
private _updateOnboardingStep(stepIndex: number): void {