mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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()
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user