diff --git a/components/lib/overlaypanel/OverlayPanel.js b/components/lib/overlaypanel/OverlayPanel.js index 9824add5bd..ed106982d1 100644 --- a/components/lib/overlaypanel/OverlayPanel.js +++ b/components/lib/overlaypanel/OverlayPanel.js @@ -19,7 +19,7 @@ export const OverlayPanel = React.forwardRef((props, ref) => { const [bindOverlayListener, unbindOverlayListener] = useOverlayListener({ target: currentTargetRef, overlay: overlayRef, listener: (event, { type, valid }) => { if (valid) { - (type === 'outside') ? !isPanelClicked.current && hide() : hide(); + (type === 'outside') ? props.dismissable && !isPanelClicked.current && hide() : hide(); } isPanelClicked.current = false;