Fix handling modal blur

pull/4456/head
yann300 10 months ago
parent ad05638625
commit 2cd7eb8ad0
  1. 1
      libs/remix-ui/modal-dialog/src/lib/remix-ui-modal-dialog.tsx

@ -34,6 +34,7 @@ export const ModalDialog = (props: ModalDialogProps) => {
e.stopPropagation()
if (document.activeElement !== this) {
!window.testmode && handleHide()
if (props.cancelFn) props.cancelFn()
}
}
}

Loading…
Cancel
Save