fix: overlay issue folder popup

This commit is contained in:
prafull-opensignlabs
2023-11-01 16:10:12 +05:30
parent 1195eb408c
commit 449ee1b623
+5 -1
View File
@@ -528,12 +528,15 @@ const TreeWidget = (props) => {
bottom: "20%",
marginRight: "-50%",
transform: "translate(-50%, -50%)",
zIndex: "50",
backgroundColor: "white",
padding: "0px",
maxWidth: "100%", // Set a maximum width for the modal
maxHeight: "100vh",
height: "300px"
},
overlay: {
backgroundColor: "rgba(0, 0, 0, 0.75)",
zIndex: 50
}
};
@@ -618,6 +621,7 @@ const TreeWidget = (props) => {
<Modal
isOpen={isShowModal}
onRequestClose={() => setIsShowModal(false)}
shouldCloseOnOverlayClick={false}
contentLabel="Modal"
style={customStyles}
>