address CR feedback

This commit is contained in:
fragosti
2018-07-06 11:23:41 -07:00
parent 97809a03eb
commit afbc4989d5
2 changed files with 4 additions and 3 deletions

View File

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