fix: Unneccessary height animation on share popover when reopening

This commit is contained in:
Tom Moor
2024-06-05 09:26:22 -04:00
parent 7bdafff235
commit 20d71391bb
2 changed files with 1 additions and 3 deletions

View File

@@ -287,7 +287,7 @@ function SharePopover({
/>
</OtherAccess>
{team.sharing && can.share && !collectionSharingDisabled && (
{team.sharing && can.share && !collectionSharingDisabled && visible && (
<>
{document.members.length ? <Separator /> : null}
<PublicAccess