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();
} }
}, },