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(tile-view):Recalculate on window height change

Hristo Terezov550c730ed419
diff --git a/react/features/filmstrip/subscriber.web.js b/react/features/filmstrip/subscriber.web.js
index 6fb1937308..a5c7ecb261 100644
--- a/react/features/filmstrip/subscriber.web.js
+++ b/react/features/filmstrip/subscriber.web.js
@@ -61,8 +61,13 @@ StateListenerRegistry.register(
*/
StateListenerRegistry.register(
/* selector */ state => {
- return { layout: getCurrentLayout(state),
- width: state['features/base/responsive-ui'].clientWidth };
+ const { clientHeight, clientWidth } = state['features/base/responsive-ui'];
+
+ return {
+ layout: getCurrentLayout(state),
+ height: clientHeight,
+ width: clientWidth
+ };
},
/* listener */ ({ layout }, store) => {
switch (layout) {