Fixed Bug 67164 – Rooms.InviteUsers. Show the popup helper window in the user's line with an invalid email when hovering the mouse over the ! icon, and not when clicking.

This commit is contained in:
Vlada Gazizova 2024-04-02 13:35:25 +03:00
parent 1b9fbe0ca9
commit 61d1dead02
3 changed files with 5 additions and 2 deletions

View File

@ -216,6 +216,7 @@ const Item = ({
displayType="auto"
offsetRight={0}
tooltipContent={t("EmailErrorMessage")}
openOnClick={false}
size={16}
color="#F21C0E"
/>

View File

@ -51,6 +51,7 @@ const HelpButton = (props: HelpButtonProps) => {
afterHide,
tooltipMaxWidth,
tooltipContent,
openOnClick = true,
} = props;
const currentId = id || uniqueId();
@ -74,7 +75,7 @@ const HelpButton = (props: HelpButtonProps) => {
{getContent ? (
<Tooltip
clickable
openOnClick
openOnClick={openOnClick}
place={place || "top"}
offset={offset}
afterShow={afterShow}
@ -86,7 +87,7 @@ const HelpButton = (props: HelpButtonProps) => {
) : (
<Tooltip
clickable
openOnClick
openOnClick={openOnClick}
place={place}
offset={offset}
afterShow={afterShow}

View File

@ -62,4 +62,5 @@ export interface HelpButtonProps {
offsetRight?: number;
offsetBottom?: number;
offsetLeft?: number;
openOnClick?: boolean;
}