diff --git a/src/components/Modal/index.ios.js b/src/components/Modal/index.ios.js index 72c4c63243da..43087549409a 100644 --- a/src/components/Modal/index.ios.js +++ b/src/components/Modal/index.ios.js @@ -1,15 +1,21 @@ import React from 'react'; +import {SafeAreaView} from 'react-native'; import withWindowDimensions from '../withWindowDimensions'; import BaseModal from './BaseModal'; import {propTypes, defaultProps} from './ModalPropTypes'; +// Only want to use on iOS. Avoids ScrollBar in the middle of the modal. +// https://github.com/facebook/react-native/issues/26610 const Modal = props => ( - - {props.children} - + + + {props.children} + + + ); Modal.propTypes = propTypes;