Group calling: fix participant hover state
This commit is contained in:
parent
daef1feae8
commit
34574583b6
5 changed files with 25 additions and 19 deletions
|
@ -172,6 +172,8 @@ export const GroupCallRemoteParticipant: React.FC<PropsType> = React.memo(
|
|||
};
|
||||
}
|
||||
|
||||
const showHover = hasHover && !props.isInPip;
|
||||
|
||||
return (
|
||||
<div
|
||||
className="module-ongoing-call__group-call-remote-participant"
|
||||
|
@ -179,7 +181,7 @@ export const GroupCallRemoteParticipant: React.FC<PropsType> = React.memo(
|
|||
onMouseLeave={() => setHover(false)}
|
||||
style={containerStyles}
|
||||
>
|
||||
{hasHover && (
|
||||
{showHover && (
|
||||
<div
|
||||
className={classNames(
|
||||
'module-ongoing-call__group-call-remote-participant--title',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue