Get scrolling right on conversation load

This commit is contained in:
lilia 2015-02-12 11:30:41 -08:00
parent f5c7be7d35
commit 9fe99adf0c

View file

@ -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: {