1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

forceupdate the whole scrollPanel rather than the geminiPanel at vdh's PR review request

This commit is contained in:
Matthew Hodgson
2016-04-08 20:21:27 +01:00
parent 4abc5d0d36
commit 23d6edbf63

View File

@ -405,7 +405,7 @@ module.exports = React.createClass({
var scrollPanel = this.refs.scrollPanel; var scrollPanel = this.refs.scrollPanel;
if (scrollPanel) { if (scrollPanel) {
scrollPanel.checkScroll(); scrollPanel.checkScroll();
scrollPanel.refs.geminiPanel.forceUpdate(); scrollPanel.forceUpdate();
} }
}, },