mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
no need for forceUpdate here
This commit is contained in:
parent
02a5aa3b1f
commit
85d305430f
1 changed files with 1 additions and 1 deletions
|
@ -627,7 +627,7 @@ module.exports = React.createClass({
|
|||
_onHeightChanged: function() {
|
||||
const scrollPanel = this.refs.scrollPanel;
|
||||
if (scrollPanel) {
|
||||
scrollPanel.forceUpdate();
|
||||
scrollPanel.checkScroll();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue