diff --git a/components/lib/dialog/Dialog.js b/components/lib/dialog/Dialog.js index 61a225332e..8fd28f98a3 100644 --- a/components/lib/dialog/Dialog.js +++ b/components/lib/dialog/Dialog.js @@ -67,7 +67,7 @@ export const Dialog = React.forwardRef((inProps, ref) => { const [bindDocumentDragEndListener, unbindDocumentDragEndListener] = useEventListener({ type: 'mouseup', target: () => window.document, listener: (event) => onDragEnd(event) }); const onClose = (event) => { - props.onHide(); + props.onHide(event); event.preventDefault(); };