From 9fe99adf0c168c03e1e5088c4308633d7cde27b9 Mon Sep 17 00:00:00 2001 From: lilia Date: Thu, 12 Feb 2015 11:30:41 -0800 Subject: [PATCH] Get scrolling right on conversation load --- js/views/conversation_view.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/views/conversation_view.js b/js/views/conversation_view.js index d86ccaae..2e91d731 100644 --- a/js/views/conversation_view.js +++ b/js/views/conversation_view.js @@ -41,6 +41,11 @@ this.view.render(); window.addEventListener('resize', this.view.resize.bind(this.view)); + + setTimeout(function() { + this.view.resize(); + this.view.scrollToBottom(); + }.bind(this), 0); }, events: {