Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
emilkowalski committed Sep 23, 2024
1 parent 7364e84 commit c8f7f5b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,10 @@ export function Root({
});
}

if(!o) {
document.body.style.pointerEvents = 'auto';
}
if (!o) {
// This will be removed when the exit animation ends (`500ms`)
document.body.style.pointerEvents = 'auto';
}
},
});
const [hasBeenOpened, setHasBeenOpened] = React.useState<boolean>(false);
Expand Down

0 comments on commit c8f7f5b

Please sign in to comment.