diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-30 05:04:41 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-30 05:04:41 +0800 |
commit | 9d81e069dcce24d484c02ae9ca6ec861b6146358 (patch) | |
tree | f6455847eb6cc34380edaf754f437b90246217de /packages/website/ts/components | |
parent | c473a0444c429da280425b0913221fe4e4aaeb15 (diff) | |
download | dexon-0x-contracts-9d81e069dcce24d484c02ae9ca6ec861b6146358.tar dexon-0x-contracts-9d81e069dcce24d484c02ae9ca6ec861b6146358.tar.gz dexon-0x-contracts-9d81e069dcce24d484c02ae9ca6ec861b6146358.tar.bz2 dexon-0x-contracts-9d81e069dcce24d484c02ae9ca6ec861b6146358.tar.lz dexon-0x-contracts-9d81e069dcce24d484c02ae9ca6ec861b6146358.tar.xz dexon-0x-contracts-9d81e069dcce24d484c02ae9ca6ec861b6146358.tar.zst dexon-0x-contracts-9d81e069dcce24d484c02ae9ca6ec861b6146358.zip |
Remove extra call to scrollIntoView for wallet in onboarding
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r-- | packages/website/ts/components/onboarding/portal_onboarding_flow.tsx | 4 |
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 { |