mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
UX: fixes regression with iOS composer
Fixes a bug introduced in e83c2488a2d9c686fde83cef93878ee4a9d0f119 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 (
|
||||
lastTouchedElement &&
|
||||
($(lastTouchedElement).hasClass("select-kit-header") ||
|
||||
$(lastTouchedElement).closest(".autocomplete") ||
|
||||
$(lastTouchedElement).closest(".autocomplete").length ||
|
||||
["span", "svg", "button"].includes(
|
||||
lastTouchedElement.nodeName.toLowerCase()
|
||||
))
|
||||
|
Loading…
x
Reference in New Issue
Block a user