do not apply touch start hack on emojis
This commit is contained in:
parent
89573e3427
commit
38be969727
|
@ -123,6 +123,10 @@ function positioningWorkaround($fixedElement) {
|
||||||
|
|
||||||
const checkForInputs = _.debounce(function(){
|
const checkForInputs = _.debounce(function(){
|
||||||
$fixedElement.find('button:not(.hide-preview),a:not(.mobile-file-upload):not(.toggle-toolbar)').each(function(idx, elem){
|
$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) {
|
if ($(elem).parents('.autocomplete').length > 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue