ember.js - How can I avoid scrolling to top of viewport when adding record using pushPayload? -


i'm adding records coming in via pusher store using pushpayload.

actions: {   upsertload: function(data) {     this.store.pushpayload(data);   } } 

when add records way, browser window scrolls top of viewport if template controller in view.

how can avoided? if add records using createrecord window not scroll. believe underlying problem controller resorting array, i'm not sure , haven't been able stop behavior.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -