Merge pull request #14743 from ramonlsouza/initial-presentation-size-bugfix
fix: presentation does not appear if user joins shortly after meeting start
This commit is contained in:
commit
770da5b0c4
@ -158,6 +158,8 @@ class Presentation extends PureComponent {
|
||||
intl,
|
||||
} = this.props;
|
||||
|
||||
const { presentationWidth, presentationHeight } = this.state;
|
||||
|
||||
const {
|
||||
numCameras: prevNumCameras,
|
||||
presentationBounds: prevPresentationBounds,
|
||||
@ -235,7 +237,8 @@ class Presentation extends PureComponent {
|
||||
}
|
||||
}
|
||||
|
||||
if (presentationBounds !== prevPresentationBounds) this.onResize();
|
||||
if ((presentationBounds !== prevPresentationBounds) ||
|
||||
(!presentationWidth && !presentationHeight)) this.onResize();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user