Commit bb0670c6 authored by JC Brand's avatar JC Brand

converse-emoji-views: tweak threshold values

parent 3b40f696
...@@ -194,7 +194,7 @@ converse.plugins.add('converse-emoji-views', { ...@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment