mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Only disable closing the modal by clicking outside of its element when inflight
GitOrigin-RevId: 9e9f24aed6442a892ed95c1ee598fc82ec931a1b
This commit is contained in:
@@ -24,7 +24,9 @@ function CloneProjectModal({
|
||||
show={show}
|
||||
onHide={onHide}
|
||||
id="clone-project-modal"
|
||||
backdrop="static"
|
||||
// backdrop="static" will disable closing the modal by clicking
|
||||
// outside of the modal element
|
||||
backdrop={inFlight ? 'static' : undefined}
|
||||
>
|
||||
<CloneProjectModalContent
|
||||
handleHide={onHide}
|
||||
|
||||
Reference in New Issue
Block a user