Merge pull request #202 from matrix-org/rav/fix_image_load_again
Fix checkScroll after image loadpull/21833/head
commit
f41c0d9bbf
|
@ -331,7 +331,7 @@ module.exports = React.createClass({
|
||||||
// once images in the events load, make the scrollPanel check the
|
// once images in the events load, make the scrollPanel check the
|
||||||
// scroll offsets.
|
// scroll offsets.
|
||||||
_onImageLoad: function() {
|
_onImageLoad: function() {
|
||||||
var scrollPanel = this.refs.messagePanel;
|
var scrollPanel = this.refs.scrollPanel;
|
||||||
if (scrollPanel) {
|
if (scrollPanel) {
|
||||||
scrollPanel.checkScroll();
|
scrollPanel.checkScroll();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue