Fixes #71 Autoscroll
Conversation view autoscroll triggers on dom change, not storage change, ensuring that we don't scroll before the new element is inserted.
This commit is contained in:
parent
13446e9c17
commit
0956d328da
3 changed files with 9 additions and 7 deletions
|
@ -21,6 +21,7 @@ var Whisper = Whisper || {};
|
|||
if (this.itemView) {
|
||||
var view = new this.itemView({model: model});
|
||||
this.$el.append(view.render().el);
|
||||
this.$el.trigger('add');
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue