diff --git a/react/features/filmstrip/subscriber.web.js b/react/features/filmstrip/subscriber.web.js index 6fb193730..a5c7ecb26 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) {