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
Post a Comment