From 924d17c2f64e94c99ad507a60c34cf6652999421 Mon Sep 17 00:00:00 2001 From: Taso Date: Wed, 3 Mar 2021 20:07:39 -0500 Subject: [PATCH] tweak(phone/context-menu): Lock scroll when context menu is open --- phone/src/ui/components/AppContent.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/phone/src/ui/components/AppContent.tsx b/phone/src/ui/components/AppContent.tsx index 579c2f3..b5bf0e7 100644 --- a/phone/src/ui/components/AppContent.tsx +++ b/phone/src/ui/components/AppContent.tsx @@ -11,7 +11,6 @@ const useStyles = makeStyles(() => ({ width: '100%', height: '100%', // allow application to fill entireity of space position: 'relative', - overflow: 'auto', }, backdrop: { position: 'absolute', @@ -32,7 +31,11 @@ export const AppContent = ({ }: AppContentTypes & BoxProps) => { const classes = useStyles(); return ( - +