diff --git a/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 b/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 index 1fb53180459..b8a4b8c02b0 100644 --- a/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 +++ b/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 @@ -117,6 +117,7 @@ function positioningWorkaround($fixedElement) { if ( lastTouchedElement && ($(lastTouchedElement).hasClass("select-kit-header") || + $(lastTouchedElement).closest(".autocomplete") || ["span", "svg", "button"].includes( lastTouchedElement.nodeName.toLowerCase() ))