converse-emoji-views: tweak threshold values
This commit is contained in:
parent
3b40f6964f
commit
bb0670c6b2
@ -194,7 +194,7 @@ converse.plugins.add('converse-emoji-views', {
|
|||||||
const options = {
|
const options = {
|
||||||
root: this.el.querySelector('.emoji-picker__lists'),
|
root: this.el.querySelector('.emoji-picker__lists'),
|
||||||
rootMargin: '0px',
|
rootMargin: '0px',
|
||||||
threshold: [0.1, 0.25, 0.5]
|
threshold: [0.1, 0.2, 0.3]
|
||||||
}
|
}
|
||||||
const handler = _.debounce(ev => {
|
const handler = _.debounce(ev => {
|
||||||
const current = ev.filter(e => e.isIntersecting).pop();
|
const current = ev.filter(e => e.isIntersecting).pop();
|
||||||
|
Loading…
Reference in New Issue
Block a user