mirror of https://github.com/vector-im/riot-web
no need for forceUpdate here
parent
02a5aa3b1f
commit
85d305430f
|
@ -627,7 +627,7 @@ module.exports = React.createClass({
|
|||
_onHeightChanged: function() {
|
||||
const scrollPanel = this.refs.scrollPanel;
|
||||
if (scrollPanel) {
|
||||
scrollPanel.forceUpdate();
|
||||
scrollPanel.checkScroll();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue