From 15fe4521b7fb6c4274e4271715170d7cffb55d81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5var=20Aamb=C3=B8=20Fosstveit?= Date: Tue, 5 May 2020 15:15:26 +0200 Subject: [PATCH] Fix bug on resizing filmstrip --- app/src/components/MeetingViews/Filmstrip.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/components/MeetingViews/Filmstrip.js b/app/src/components/MeetingViews/Filmstrip.js index a1a3cbe..d1cfba6 100644 --- a/app/src/components/MeetingViews/Filmstrip.js +++ b/app/src/components/MeetingViews/Filmstrip.js @@ -123,6 +123,9 @@ class Filmstrip extends React.PureComponent const root = this.rootContainer.current; + if (!root) + return; + const availableWidth = root.clientWidth; // Grid is: // 4/5 speaker