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

View File

@@ -918,8 +918,6 @@
"Allow editors to invite other people to the workspace": "Allow editors to invite other people to the workspace",
"Require invites": "Require invites",
"Require members to be invited to the workspace before they can create an account using SSO.": "Require members to be invited to the workspace before they can create an account using SSO.",
"API access": "API access",
"Allow members to create API keys for programmatic access": "Allow members to create API keys for programmatic access",
"Default role": "Default role",
"The default user role for new accounts. Changing this setting does not affect existing user accounts.": "The default user role for new accounts. Changing this setting does not affect existing user accounts.",
"When enabled, documents can be shared publicly on the internet by any member of the workspace": "When enabled, documents can be shared publicly on the internet by any member of the workspace",