From a4c8c7d709d77d2821baecb628453732501199df Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 31 Mar 2022 12:26:06 -0700 Subject: [PATCH] fix: Cannot edit icon in collection edit dialog closes #3313 --- app/components/Modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/Modal.tsx b/app/components/Modal.tsx index d54ff4915..d78b56278 100644 --- a/app/components/Modal.tsx +++ b/app/components/Modal.tsx @@ -68,7 +68,7 @@ const Modal: React.FC = ({ {...dialog} preventBodyScroll hideOnEsc - hideOnClickOutside={isCentered} + hideOnClickOutside={!!isCentered} hide={onRequestClose} > {(props) =>