From cd691b35e33584b78b3ffc18ab1135afe43a27e0 Mon Sep 17 00:00:00 2001 From: Taso <15652018+TasoOneAsia@users.noreply.github.com> Date: Sat, 12 Dec 2020 22:35:22 -0500 Subject: [PATCH] fix(phone/navmenu): Fixed shifting behavior Bottom nav would shift between apps and home. Fixed by adding min-height workaround. --- phone/src/ui/components/AppWrapper.tsx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/phone/src/ui/components/AppWrapper.tsx b/phone/src/ui/components/AppWrapper.tsx index 63d87f0..7b9b84d 100644 --- a/phone/src/ui/components/AppWrapper.tsx +++ b/phone/src/ui/components/AppWrapper.tsx @@ -1,5 +1,5 @@ -import React from "react"; -import { AppWrapperTypes } from "../interface/InterfaceUI"; +import React from 'react'; +import { AppWrapperTypes } from '../interface/InterfaceUI'; export const AppWrapper = ({ children, @@ -13,11 +13,12 @@ export const AppWrapper = ({ style={{ padding: 0, margin: 0, - width: "100%", - height: "100%", - display: "flex", - position: "relative", - flexDirection: "column", + width: '100%', + height: '100%', + display: 'flex', + position: 'relative', + flexDirection: 'column', + minHeight: '720px', ...style, }} >