UX: fixes regression with iOS composer

Fixes a bug introduced in e83c2488a2 where dismissing the keyboard in iOS would not minimize the composer.
This commit is contained in:
Penar Musaraj 2019-10-22 23:10:18 -04:00
parent 67ad8fbd1b
commit ab6a540fc4
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ function positioningWorkaround($fixedElement) {
if (
lastTouchedElement &&
($(lastTouchedElement).hasClass("select-kit-header") ||
$(lastTouchedElement).closest(".autocomplete") ||
$(lastTouchedElement).closest(".autocomplete").length ||
["span", "svg", "button"].includes(
lastTouchedElement.nodeName.toLowerCase()
))