Skip to content
Permalink
Browse files

FIX: do not unpin reply box in iOS when selecting Emoji

  • Loading branch information
pmusaraj committed Oct 15, 2019
1 parent b2f682f commit e83c2488a2d9c686fde83cef93878ee4a9d0f119
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/assets/javascripts/discourse/lib/safari-hacks.js.es6
@@ -117,6 +117,7 @@ function positioningWorkaround($fixedElement) {
if (
lastTouchedElement &&
($(lastTouchedElement).hasClass("select-kit-header") ||
$(lastTouchedElement).closest(".autocomplete") ||
["span", "svg", "button"].includes(
lastTouchedElement.nodeName.toLowerCase()
))

2 comments on commit e83c248

@discoursebot

This comment has been minimized.

Copy link

discoursebot replied Oct 15, 2019

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/selecting-emoji-on-mobile-unpins-reply-box/130879/5

Please sign in to comment.
You can’t perform that action at this time.