Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(participants-pane): Resize video layout when closing or opening

Gabriel Imreedff9bef53e3
diff --git a/react/features/video-layout/middleware.web.js b/react/features/video-layout/middleware.web.js
index 0b4d4d82cd..af9c229bea 100644
--- a/react/features/video-layout/middleware.web.js
+++ b/react/features/video-layout/middleware.web.js
@@ -11,6 +11,7 @@ import {
import { MiddlewareRegistry } from '../base/redux';
import { TRACK_ADDED, TRACK_REMOVED, TRACK_STOPPED } from '../base/tracks';
import { SET_FILMSTRIP_VISIBLE } from '../filmstrip';
+import { PARTICIPANTS_PANE_CLOSE, PARTICIPANTS_PANE_OPEN } from '../participants-pane/actionTypes.js';
import './middleware.any';
@@ -53,6 +54,8 @@ MiddlewareRegistry.register(store => next => action => {
break;
}
+ case PARTICIPANTS_PANE_CLOSE:
+ case PARTICIPANTS_PANE_OPEN:
case SET_FILMSTRIP_VISIBLE:
VideoLayout.resizeVideoArea();
break;