aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/portal
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-19 07:57:28 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-19 07:57:28 +0800
commitdb9ff7675404b6d409cc195159a8334c59208c25 (patch)
tree6e04deafe0cdf1957bfedbfd636fd55d779bf6a5 /packages/website/ts/components/portal
parent49f5495c459f194f3cab6ff24526da924bd64a53 (diff)
downloaddexon-0x-contracts-db9ff7675404b6d409cc195159a8334c59208c25.tar.gz
dexon-0x-contracts-db9ff7675404b6d409cc195159a8334c59208c25.tar.zst
dexon-0x-contracts-db9ff7675404b6d409cc195159a8334c59208c25.zip
Only elevate wallet zIndex when onboarding is in progress
Diffstat (limited to 'packages/website/ts/components/portal')
-rw-r--r--packages/website/ts/components/portal/portal.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/components/portal/portal.tsx b/packages/website/ts/components/portal/portal.tsx
index 28a303793..046cb2096 100644
--- a/packages/website/ts/components/portal/portal.tsx
+++ b/packages/website/ts/components/portal/portal.tsx
@@ -33,6 +33,7 @@ import { localStorage } from 'ts/local_storage/local_storage';
import { trackedTokenStorage } from 'ts/local_storage/tracked_token_storage';
import { FullscreenMessage } from 'ts/pages/fullscreen_message';
import { Dispatcher } from 'ts/redux/dispatcher';
+import { zIndex } from 'ts/style/z_index';
import {
BlockchainErrs,
HashData,
@@ -73,6 +74,7 @@ export interface PortalProps {
flashMessage?: string | React.ReactNode;
lastForceTokenStateRefetch: number;
translate: Translate;
+ isPortalOnboardingShowing: boolean;
}
interface PortalState {
@@ -335,6 +337,7 @@ export class Portal extends React.Component<PortalProps, PortalState> {
return (
<div>
<Wallet
+ style={this.props.isPortalOnboardingShowing ? { zIndex: zIndex.aboveOverlay } : undefined}
userAddress={this.props.userAddress}
networkId={this.props.networkId}
blockchain={this._blockchain}