diff --git a/app/assets/javascripts/discourse/app/lib/autocomplete.js b/app/assets/javascripts/discourse/app/lib/autocomplete.js index 1f71e2cc3ae..3041ec78500 100644 --- a/app/assets/javascripts/discourse/app/lib/autocomplete.js +++ b/app/assets/javascripts/discourse/app/lib/autocomplete.js @@ -385,8 +385,7 @@ export default function (options) { if (isInput || options.treatAsTextarea) { _autoCompletePopper && _autoCompletePopper.destroy(); _autoCompletePopper = createPopper(me[0], div[0], { - placement: "bottom-start", - strategy: "fixed", + placement: `${Site.currentProp("mobileView") ? "top" : "bottom"}-start`, modifiers: [ { name: "offset",