Fix fullscreen buttons fullscreening the wrong feed
This commit is contained in:
parent
e182dd50f2
commit
97ae11f656
1 changed files with 3 additions and 2 deletions
|
@ -224,11 +224,12 @@ export function InCallView({
|
|||
// window is too small to show everyone
|
||||
const maximisedParticipant = useMemo(
|
||||
() =>
|
||||
fullscreenParticipant ?? (bounds.height <= 400 && bounds.width <= 400)
|
||||
fullscreenParticipant ??
|
||||
(bounds.height <= 400 && bounds.width <= 400
|
||||
? items.find((item) => item.focused) ??
|
||||
items.find((item) => item.callFeed) ??
|
||||
null
|
||||
: null,
|
||||
: null),
|
||||
[fullscreenParticipant, bounds, items]
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue