Skip to content

Commit ea6aac1

Browse files
authored
Merge pull request #32460 from fedirjh/fedirjh/issue17866
[Fix] - Disable ScreenWrapper minHeight for safari browser
2 parents 02637c1 + 4f7dfa2 commit ea6aac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ScreenWrapper/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const ScreenWrapper = React.forwardRef(
5151
const navigation = useNavigation();
5252
const [didScreenTransitionEnd, setDidScreenTransitionEnd] = useState(false);
5353
const maxHeight = shouldEnableMaxHeight ? windowHeight : undefined;
54-
const minHeight = shouldEnableMinHeight ? initialHeight : undefined;
54+
const minHeight = shouldEnableMinHeight && !Browser.isSafari() ? initialHeight : undefined;
5555
const isKeyboardShown = lodashGet(keyboardState, 'isKeyboardShown', false);
5656

5757
const isKeyboardShownRef = useRef();

0 commit comments

Comments
 (0)