diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-28 10:23:51 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-28 10:23:51 +0800 |
commit | c20549e88d710cb5b3577fae468545aa2d531370 (patch) | |
tree | cc620716cd88241257b6c417a8bd2c7a4b961e7d /packages/website | |
parent | cd169869428f80c2bb89dbd282783b105472a4a1 (diff) | |
download | dexon-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
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/ts/components/onboarding/portal_onboarding_flow.tsx | 1 |
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(); |