diff --git a/extensions/emoji/js/src/forum/addComposerAutocomplete.js b/extensions/emoji/js/src/forum/addComposerAutocomplete.js index a6a1bf1d8..9cba1af64 100644 --- a/extensions/emoji/js/src/forum/addComposerAutocomplete.js +++ b/extensions/emoji/js/src/forum/addComposerAutocomplete.js @@ -148,7 +148,7 @@ export default function addComposerAutocomplete() { } // Prevent the dropdown from going off screen on mobile - top = Math.max(-parent.offset().top, top); + top = Math.max(-(parent.offset().top - $(document).scrollTop()), top); left = Math.max(-parent.offset().left, left); dropdown.show(left, top);