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:
parent
67ad8fbd1b
commit
ab6a540fc4
|
@ -117,7 +117,7 @@ function positioningWorkaround($fixedElement) {
|
||||||
if (
|
if (
|
||||||
lastTouchedElement &&
|
lastTouchedElement &&
|
||||||
($(lastTouchedElement).hasClass("select-kit-header") ||
|
($(lastTouchedElement).hasClass("select-kit-header") ||
|
||||||
$(lastTouchedElement).closest(".autocomplete") ||
|
$(lastTouchedElement).closest(".autocomplete").length ||
|
||||||
["span", "svg", "button"].includes(
|
["span", "svg", "button"].includes(
|
||||||
lastTouchedElement.nodeName.toLowerCase()
|
lastTouchedElement.nodeName.toLowerCase()
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in New Issue