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
1 changed files with 1 additions and 1 deletions

View File

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