1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-15 11:01:52 +03:00

no need for forceUpdate here

This commit is contained in:
Bruno Windels
2019-03-20 17:37:34 +01:00
parent 02a5aa3b1f
commit 85d305430f

View File

@ -627,7 +627,7 @@ module.exports = React.createClass({
_onHeightChanged: function() {
const scrollPanel = this.refs.scrollPanel;
if (scrollPanel) {
scrollPanel.forceUpdate();
scrollPanel.checkScroll();
}
},