You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
fix nasty overscroll bug on video element caused by inline v. block
This commit is contained in:
@@ -85,9 +85,9 @@ module.exports = React.createClass({
|
|||||||
// if this call is a conf call, don't display local video as the
|
// if this call is a conf call, don't display local video as the
|
||||||
// conference will have us in it
|
// conference will have us in it
|
||||||
this.getVideoView().getLocalVideoElement().style.display = (
|
this.getVideoView().getLocalVideoElement().style.display = (
|
||||||
call.confUserId ? "none" : "initial"
|
call.confUserId ? "none" : "block"
|
||||||
);
|
);
|
||||||
this.getVideoView().getRemoteVideoElement().style.display = "initial";
|
this.getVideoView().getRemoteVideoElement().style.display = "block";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.getVideoView().getLocalVideoElement().style.display = "none";
|
this.getVideoView().getLocalVideoElement().style.display = "none";
|
||||||
|
|||||||
Reference in New Issue
Block a user