diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-06 06:16:46 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-06 06:16:46 +0800 |
commit | 127fbc6e943d23cf1202f403a5b402226963d947 (patch) | |
tree | 1e8583f9f34dece19ec1f0c4ff31be92d7c4ce99 /packages | |
parent | 97312c265666b3f3f955c096de5aba8791329d79 (diff) | |
download | dexon-sol-tools-127fbc6e943d23cf1202f403a5b402226963d947.tar dexon-sol-tools-127fbc6e943d23cf1202f403a5b402226963d947.tar.gz dexon-sol-tools-127fbc6e943d23cf1202f403a5b402226963d947.tar.bz2 dexon-sol-tools-127fbc6e943d23cf1202f403a5b402226963d947.tar.lz dexon-sol-tools-127fbc6e943d23cf1202f403a5b402226963d947.tar.xz dexon-sol-tools-127fbc6e943d23cf1202f403a5b402226963d947.tar.zst dexon-sol-tools-127fbc6e943d23cf1202f403a5b402226963d947.zip |
Just disable closing onboarding by clicking outside for firefox
Diffstat (limited to 'packages')
-rw-r--r-- | packages/website/ts/components/onboarding/portal_onboarding_flow.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx index fcfed82fa..e3072b9b4 100644 --- a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx +++ b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx @@ -78,9 +78,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 && this.props.stepIndex === 1 - } + disableCloseOnClickOutside={utils.getBrowserType() === BrowserType.Firefox} /> ); } |