Skip to content

Commit

Permalink
[Fix] - Disable minHeight for safari browser
Browse files Browse the repository at this point in the history
  • Loading branch information
fedirjh committed Dec 4, 2023
1 parent b5e83fa commit 4f7dfa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ScreenWrapper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4f7dfa2

Please sign in to comment.