mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Only disable closing the modal by clicking outside of its element when inflight
GitOrigin-RevId: 9e9f24aed6442a892ed95c1ee598fc82ec931a1b
This commit is contained in:
parent
7e68b4f0d5
commit
e855b96953
1 changed files with 3 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue