Hide tile overlay immediately when closed
This commit is contained in:
parent
b75db97c26
commit
fa8d081079
@ -50,9 +50,12 @@ function TilesOverlay({ modalSize, children }) {
|
||||
|
||||
const group = groups.find((group) => group.id === openGroupId);
|
||||
|
||||
if (!openGroupId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
{openGroupId && (
|
||||
<Box
|
||||
sx={{
|
||||
position: "absolute",
|
||||
@ -62,7 +65,6 @@ function TilesOverlay({ modalSize, children }) {
|
||||
}}
|
||||
bg="overlay"
|
||||
/>
|
||||
)}
|
||||
<ReactResizeDetector
|
||||
handleWidth
|
||||
handleHeight
|
||||
|
Loading…
Reference in New Issue
Block a user