diff --git a/src/components/Popover/index.tsx b/src/components/Popover/index.tsx index ae044aa5e0..067ee20992 100644 --- a/src/components/Popover/index.tsx +++ b/src/components/Popover/index.tsx @@ -112,7 +112,7 @@ export default function Popover({ [placement, offsetX, offsetY, arrowElement] ) - const { styles, update, attributes } = usePopper(referenceElement, popperElement, options) + const { styles, update, attributes } = usePopper(referenceElement, show ? popperElement : null, options) const updateCallback = useCallback(() => { update && update()