Only disable closing the modal by clicking outside of its element when inflight
GitOrigin-RevId: 9e9f24aed6442a892ed95c1ee598fc82ec931a1b
This commit is contained in:
+3
-1
@@ -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