diff --git a/src/components/Popover/index.native.js b/src/components/Popover/index.native.js index 1c8883220d1..6f560aa8a14 100644 --- a/src/components/Popover/index.native.js +++ b/src/components/Popover/index.native.js @@ -13,20 +13,17 @@ const propTypes = { * This is a convenience wrapper around the Modal component for a responsive Popover. * On small screen widths, it uses BottomDocked modal type, and a Popover type on wide screen widths. */ -const Popover = (props) => { - const propsWithoutAnimation = _.omit(props, ['animationIn', 'animationOut', 'popoverAnchorPosition', 'disableAnimation']); - return ( - - ); -}; +const Popover = props => ( + +); Popover.propTypes = propTypes; Popover.defaultProps = defaultProps; diff --git a/src/components/PopoverMenu/BasePopoverMenu.js b/src/components/PopoverMenu/BasePopoverMenu.js index 496c8ab9704..177c007eb8b 100644 --- a/src/components/PopoverMenu/BasePopoverMenu.js +++ b/src/components/PopoverMenu/BasePopoverMenu.js @@ -35,6 +35,7 @@ class BasePopoverMenu extends PureComponent { onModalHide={this.props.onMenuHide} animationIn={this.props.animationIn} animationOut={this.props.animationOut} + isSmallScreenWidth={this.props.isSmallScreenWidth} disableAnimation={this.props.disableAnimation} > diff --git a/src/pages/home/sidebar/SidebarScreen.js b/src/pages/home/sidebar/SidebarScreen.js index 3fbf5b1011e..a0253ed0663 100755 --- a/src/pages/home/sidebar/SidebarScreen.js +++ b/src/pages/home/sidebar/SidebarScreen.js @@ -155,6 +155,7 @@ class SidebarScreen extends Component { isVisible={this.state.isCreateMenuActive} anchorPosition={styles.createMenuPositionSidebar} onItemSelected={this.onCreateMenuItemSelected} + isSmallScreenWidth={this.props.isSmallScreenWidth} menuItems={[ { icon: ChatBubble,