do not apply touch start hack on emojis

This commit is contained in:
Joffrey JAFFEUX 2017-07-19 11:17:53 +02:00
parent 89573e3427
commit 38be969727
1 changed files with 6 additions and 2 deletions

View File

@ -123,6 +123,10 @@ function positioningWorkaround($fixedElement) {
const checkForInputs = _.debounce(function(){
$fixedElement.find('button:not(.hide-preview),a:not(.mobile-file-upload):not(.toggle-toolbar)').each(function(idx, elem){
if ($(elem).parents('.emoji-picker').length > 0) {
return;
}
if ($(elem).parents('.autocomplete').length > 0) {
return;
}