diff --git a/src/components/AttachmentModal.js b/src/components/AttachmentModal.js index 9737a3377ed7..4bb62c44d0cc 100755 --- a/src/components/AttachmentModal.js +++ b/src/components/AttachmentModal.js @@ -154,6 +154,7 @@ class AttachmentModal extends PureComponent { return ( <> this.setState({isModalOpen: false})} diff --git a/src/components/Modal/BaseModal.js b/src/components/Modal/BaseModal.js index 3779304830f0..14662bc370fa 100644 --- a/src/components/Modal/BaseModal.js +++ b/src/components/Modal/BaseModal.js @@ -112,6 +112,7 @@ class BaseModal extends PureComponent { hideModalContentWhileAnimating={this.props.hideModalContentWhileAnimating} animationInTiming={this.props.animationInTiming} animationOutTiming={this.props.animationOutTiming} + statusBarTranslucent={this.props.statusBarTranslucent} > {(insets) => { diff --git a/src/components/Modal/modalPropTypes.js b/src/components/Modal/modalPropTypes.js index 35c9def2f251..8f09588e3787 100644 --- a/src/components/Modal/modalPropTypes.js +++ b/src/components/Modal/modalPropTypes.js @@ -58,6 +58,9 @@ const propTypes = { /** Modal container styles */ containerStyle: stylePropTypes, + /** Whether the modal should go under the system statusbar */ + statusBarTranslucent: PropTypes.bool, + ...windowDimensionsPropTypes, }; @@ -73,6 +76,7 @@ const defaultProps = { animationOut: null, popoverAnchorPosition: {}, containerStyle: {}, + statusBarTranslucent: true, }; export {propTypes, defaultProps};