diff --git a/src/components/Popover/index.js b/src/components/Popover/index.js index f2c61b38c008..25cb5f92e2e2 100644 --- a/src/components/Popover/index.js +++ b/src/components/Popover/index.js @@ -12,6 +12,7 @@ import PopoverWithoutOverlay from '../PopoverWithoutOverlay'; */ function Popover(props) { const {isVisible, onClose, isSmallScreenWidth, fullscreen, animationInTiming, onLayout, animationOutTiming, disableAnimation, withoutOverlay, anchorPosition} = props; + // Not adding this inside the PopoverProvider // because this is an issue on smaller screens as well. React.useEffect(() => {