1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 11:21:29 +00:00

['Modal' popups] fixup for popups which couldn't be closed via clicking outside (#5801)

This commit is contained in:
llj
2023-11-30 13:58:06 +08:00
committed by GitHub
parent 6287aedb41
commit 17e832274c
18 changed files with 18 additions and 18 deletions

View File

@@ -54,7 +54,7 @@ class LibDecryptDialog extends React.Component {
render() {
return (
<Modal isOpen={true}>
<Modal isOpen={true} toggle={this.toggle}>
<ModalBody>
<button type="button" className="close" onClick={this.toggle}><span aria-hidden="true">×</span></button>
<Form className="lib-decrypt-form text-center">