aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-28 10:23:51 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-28 10:23:51 +0800
commitc20549e88d710cb5b3577fae468545aa2d531370 (patch)
treecc620716cd88241257b6c417a8bd2c7a4b961e7d
parentcd169869428f80c2bb89dbd282783b105472a4a1 (diff)
downloaddexon-sol-tools-c20549e88d710cb5b3577fae468545aa2d531370.tar
dexon-sol-tools-c20549e88d710cb5b3577fae468545aa2d531370.tar.gz
dexon-sol-tools-c20549e88d710cb5b3577fae468545aa2d531370.tar.bz2
dexon-sol-tools-c20549e88d710cb5b3577fae468545aa2d531370.tar.lz
dexon-sol-tools-c20549e88d710cb5b3577fae468545aa2d531370.tar.xz
dexon-sol-tools-c20549e88d710cb5b3577fae468545aa2d531370.tar.zst
dexon-sol-tools-c20549e88d710cb5b3577fae468545aa2d531370.zip
Scroll to top when going to relayers page from onboarding
-rw-r--r--packages/website/ts/components/onboarding/portal_onboarding_flow.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
index 13eb444cd..6486bafcb 100644
--- a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
+++ b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
@@ -265,6 +265,7 @@ class PlainPortalOnboardingFlow extends React.Component<PortalOnboardingFlowProp
}
private _handleFinalStepContinueClick(): void {
if (utils.isMobile(this.props.screenWidth)) {
+ window.scrollTo(0, 0);
this.props.history.push('/portal');
}
this._closeOnboarding();