mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Merge pull request #202 from matrix-org/rav/fix_image_load_again
Fix checkScroll after image load
This commit is contained in:
commit
f41c0d9bbf
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ module.exports = React.createClass({
|
|||
// once images in the events load, make the scrollPanel check the
|
||||
// scroll offsets.
|
||||
_onImageLoad: function() {
|
||||
var scrollPanel = this.refs.messagePanel;
|
||||
var scrollPanel = this.refs.scrollPanel;
|
||||
if (scrollPanel) {
|
||||
scrollPanel.checkScroll();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue