diff --git a/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 b/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 index e4dde154bb1..cc93ebdd68d 100644 --- a/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 +++ b/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 @@ -93,7 +93,11 @@ function positioningWorkaround($fixedElement) { } const checkForInputs = _.debounce(function(){ - $fixedElement.find('button,a').each(function(){ + $fixedElement.find('button,a:not(.autocomplete)').each(function(idx, elem){ + if ($(elem).parents('.autocomplete').length > 0) { + return; + } + attachTouchStart(this, function(evt){ done = true; $(document.activeElement).blur();