From 23d6edbf63dafe9e75adfc74afecdcb38f8b2cf2 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Fri, 8 Apr 2016 20:21:27 +0100 Subject: [PATCH] forceupdate the whole scrollPanel rather than the geminiPanel at vdh's PR review request --- src/components/structures/MessagePanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/MessagePanel.js b/src/components/structures/MessagePanel.js index 773c223331..a779317f8f 100644 --- a/src/components/structures/MessagePanel.js +++ b/src/components/structures/MessagePanel.js @@ -405,7 +405,7 @@ module.exports = React.createClass({ var scrollPanel = this.refs.scrollPanel; if (scrollPanel) { scrollPanel.checkScroll(); - scrollPanel.refs.geminiPanel.forceUpdate(); + scrollPanel.forceUpdate(); } },