Get scrolling right on conversation load
This commit is contained in:
parent
f5c7be7d35
commit
9fe99adf0c
1 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,11 @@
|
||||||
this.view.render();
|
this.view.render();
|
||||||
|
|
||||||
window.addEventListener('resize', this.view.resize.bind(this.view));
|
window.addEventListener('resize', this.view.resize.bind(this.view));
|
||||||
|
|
||||||
|
setTimeout(function() {
|
||||||
|
this.view.resize();
|
||||||
|
this.view.scrollToBottom();
|
||||||
|
}.bind(this), 0);
|
||||||
},
|
},
|
||||||
|
|
||||||
events: {
|
events: {
|
||||||
|
|
Loading…
Reference in a new issue