diff --git a/src/views/MaterialBottomTabView.tsx b/src/views/MaterialBottomTabView.tsx index 619ce7f..2946123 100644 --- a/src/views/MaterialBottomTabView.tsx +++ b/src/views/MaterialBottomTabView.tsx @@ -108,8 +108,13 @@ export default class MaterialBottomTabView extends React.Component { const isVisible = this._isVisible(); const extraStyle: ViewStyle | null = - typeof isVisible === 'boolean' - ? { display: isVisible ? undefined : 'none' } + isVisible === false + ? { + display: 'none', + // When keyboard is shown, `position` is set to `absolute` in the library + // This somehow breaks `display: 'none'`, so we explcitely override `position` + position: undefined, + } : null; return (