Fix bug on resizing filmstrip
parent
e2211b000c
commit
15fe4521b7
|
|
@ -123,6 +123,9 @@ class Filmstrip extends React.PureComponent
|
||||||
|
|
||||||
const root = this.rootContainer.current;
|
const root = this.rootContainer.current;
|
||||||
|
|
||||||
|
if (!root)
|
||||||
|
return;
|
||||||
|
|
||||||
const availableWidth = root.clientWidth;
|
const availableWidth = root.clientWidth;
|
||||||
// Grid is:
|
// Grid is:
|
||||||
// 4/5 speaker
|
// 4/5 speaker
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue