diff --git a/app/assets/javascripts/discourse/app/components/emoji-picker.js b/app/assets/javascripts/discourse/app/components/emoji-picker.js index 1d6867a06bc..9fab42b390f 100644 --- a/app/assets/javascripts/discourse/app/components/emoji-picker.js +++ b/app/assets/javascripts/discourse/app/components/emoji-picker.js @@ -37,6 +37,7 @@ export default Component.extend({ hoveredEmoji: null, isActive: false, isLoading: true, + usePopper: true, init() { this._super(...arguments); @@ -91,7 +92,7 @@ export default Component.extend({ const textareaWrapper = document.querySelector( ".d-editor-textarea-wrapper" ); - if (!this.site.isMobileDevice && textareaWrapper) { + if (!this.site.isMobileDevice && this.usePopper && textareaWrapper) { this._popper = createPopper(textareaWrapper, emojiPicker, { placement: "auto", modifiers: [