mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02: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
@ -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…
x
Reference in New Issue
Block a user