increase time needed to load section in emoji-picker

This commit is contained in:
Joffrey JAFFEUX 2017-07-19 23:20:27 +02:00
parent d27f744d16
commit 26a7ae3750
1 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@ export default Ember.Component.extend({
_bindSectionsScroll() {
$list.on("scroll", () => {
Ember.run.debounce(this, this._checkVisibleSection, 150);
Ember.run.debounce(this, this._checkVisibleSection, 500);
Ember.run.debounce(this, this._storeScrollPosition, 100);
});
},
@ -314,7 +314,7 @@ export default Ember.Component.extend({
if(preloadedSection && !preloadedSection.$section.hasClass("loaded")) {
preloadedSection.$section.addClass("loaded");
const $visibleEmojis = preloadedSection.$section.find(".emoji[src='']");
Ember.run.later(this, () => this._loadVisibleEmojis($visibleEmojis), 1500);
Ember.run.later(this, () => this._loadVisibleEmojis($visibleEmojis), 3000);
}
}
},