diff --git a/packages/react/src/components/OverflowMenu/OverflowMenu.js b/packages/react/src/components/OverflowMenu/OverflowMenu.js index dd040ad0e6c8..d02a929f9cd3 100644 --- a/packages/react/src/components/OverflowMenu/OverflowMenu.js +++ b/packages/react/src/components/OverflowMenu/OverflowMenu.js @@ -255,7 +255,7 @@ class OverflowMenu extends Component { componentDidUpdate(_, prevState) { const { onClose } = this.props; - if (!this.state.open && prevState.isOpen) { + if (!this.state.open && prevState.open) { onClose(); } }