Just disable closing onboarding by clicking outside for firefox

This commit is contained in:
fragosti
2018-07-05 15:16:46 -07:00
parent 97312c2656
commit 127fbc6e94

View File

@@ -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}
/>
);
}