From 4f7dfa29e530c823e777cc55ee56881e228eb2e9 Mon Sep 17 00:00:00 2001 From: Fedi Rajhi <fedirjh@gmail.com> Date: Tue, 5 Dec 2023 00:34:33 +0100 Subject: [PATCH] [Fix] - Disable minHeight for safari browser --- src/components/ScreenWrapper/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ScreenWrapper/index.js b/src/components/ScreenWrapper/index.js index 16bf9ba0761c..6af67c51ffaf 100644 --- a/src/components/ScreenWrapper/index.js +++ b/src/components/ScreenWrapper/index.js @@ -51,7 +51,7 @@ const ScreenWrapper = React.forwardRef( const navigation = useNavigation(); const [didScreenTransitionEnd, setDidScreenTransitionEnd] = useState(false); const maxHeight = shouldEnableMaxHeight ? windowHeight : undefined; - const minHeight = shouldEnableMinHeight ? initialHeight : undefined; + const minHeight = shouldEnableMinHeight && !Browser.isSafari() ? initialHeight : undefined; const isKeyboardShown = lodashGet(keyboardState, 'isKeyboardShown', false); const isKeyboardShownRef = useRef();