ForceUpdate the scrollpanel when the aux panel changes size
Catch some more cases when we ought to be updating the gemini scroll stuff.
This commit is contained in:
parent
393e8ff612
commit
6c928f12b2
3 changed files with 38 additions and 19 deletions
|
@ -38,8 +38,8 @@ module.exports = React.createClass({
|
|||
// a callback which is called when the user clicks on the video div
|
||||
onClick: React.PropTypes.func,
|
||||
|
||||
// a callback which is called when the video within the callview is
|
||||
// resized due to a change in video metadata
|
||||
// a callback which is called when the content in the callview changes
|
||||
// in a way that is likely to cause a resize.
|
||||
onResize: React.PropTypes.func,
|
||||
},
|
||||
|
||||
|
@ -96,6 +96,10 @@ module.exports = React.createClass({
|
|||
this.getVideoView().getRemoteVideoElement().style.display = "none";
|
||||
dis.dispatch({action: 'video_fullscreen', fullscreen: false});
|
||||
}
|
||||
|
||||
if (this.props.onResize) {
|
||||
this.props.onResize();
|
||||
}
|
||||
},
|
||||
|
||||
getVideoView: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue