storing scroll position every 100 ms should be enough

This commit is contained in:
Joffrey JAFFEUX 2017-07-19 11:59:47 +02:00
parent 9a4dcd1a1c
commit 6ebdf86ec1

View File

@ -257,7 +257,7 @@ export default Ember.Component.extend({
_bindSectionsScroll() {
$list.on("scroll", () => {
Ember.run.debounce(this, this._checkVisibleSection, 150);
Ember.run.debounce(this, this._storeScrollPosition, 50);
Ember.run.debounce(this, this._storeScrollPosition, 100);
});
},