aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-07 02:23:41 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-07 02:23:41 +0800
commitafbc4989d512d3dcc24a7cbc29e96afaae3acdc0 (patch)
treeb4bbb8d426d8401d3c5ed4a9b3fed629d8e957f3 /packages/website/ts/components
parent97809a03eb5be210a20247444cfd45ed68b515fd (diff)
downloaddexon-sol-tools-afbc4989d512d3dcc24a7cbc29e96afaae3acdc0.tar
dexon-sol-tools-afbc4989d512d3dcc24a7cbc29e96afaae3acdc0.tar.gz
dexon-sol-tools-afbc4989d512d3dcc24a7cbc29e96afaae3acdc0.tar.bz2
dexon-sol-tools-afbc4989d512d3dcc24a7cbc29e96afaae3acdc0.tar.lz
dexon-sol-tools-afbc4989d512d3dcc24a7cbc29e96afaae3acdc0.tar.xz
dexon-sol-tools-afbc4989d512d3dcc24a7cbc29e96afaae3acdc0.tar.zst
dexon-sol-tools-afbc4989d512d3dcc24a7cbc29e96afaae3acdc0.zip
address CR feedback
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/onboarding/portal_onboarding_flow.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
index e3072b9b4..503f2163d 100644
--- a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
+++ b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
@@ -68,6 +68,7 @@ class PlainPortalOnboardingFlow extends React.Component<PortalOnboardingFlowProp
}
}
public render(): React.ReactNode {
+ const browserType = utils.getBrowserType();
return (
<OnboardingFlow
steps={this._getSteps()}
@@ -78,7 +79,7 @@ class PlainPortalOnboardingFlow extends React.Component<PortalOnboardingFlowProp
disableOverlay={this.props.screenWidth === ScreenWidths.Sm}
isMobile={this.props.screenWidth === ScreenWidths.Sm}
// This is necessary to ensure onboarding stays open once the user unlocks metamask and clicks away
- disableCloseOnClickOutside={utils.getBrowserType() === BrowserType.Firefox}
+ disableCloseOnClickOutside={browserType === BrowserType.Firefox || browserType === BrowserType.Opera}
/>
);
}