Client: fixed closing the context menu in the list of members

This commit is contained in:
Dmitry Sychugov 2023-11-17 15:10:17 +05:00
parent ab0ea0393f
commit 73d1acebbb
2 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,7 @@ import Avatar from "@docspace/components/avatar";
import ComboBox from "@docspace/components/combobox";
import DefaultUserPhotoUrl from "PUBLIC_DIR/images/default_user_photo_size_82-82.png";
import toastr from "@docspace/components/toast/toastr";
import { isMobileOnly } from "react-device-detect";
import { isMobileOnly, isTablet } from "react-device-detect";
import { decode } from "he";
import { filterUserRoleOptions } from "SRC_DIR/helpers/utils";
import { getUserRole } from "@docspace/common/utils";
@ -260,7 +260,7 @@ const User = ({
options={userRoleOptions}
onSelect={onOptionClick}
scaled={false}
withBackdrop={isMobileOnly}
withBackdrop={isMobileOnly || isTablet}
size="content"
modernView
title={t("Common:Role")}

View File

@ -87,7 +87,6 @@ const StyledLinkRow = styled.div`
justify-content: space-between;
gap: 12px;
height: 100%;
position: relative;
background: ${(props) => props.theme.backgroundColor};
z-index: 1;