jmadler / emoji-picker

Add a slick emoji selector to input fields and textareas on your website.
Other
1.31k stars 318 forks source link

Works on every device except for safari on iPhone or iPad #49

Closed KBepo closed 7 years ago

KBepo commented 7 years ago

Even if you open demo page it doesn't work.

CanNuhlar commented 7 years ago

Easy fix, just comment out line 21, 22 and 23 on emoji-picker.js. But you should tweak the css to make emoji window place correctly. If this project is not dead I would like to fix this. @jasonpang

EmojiPicker.prototype.discover = function() { var isiOS; isiOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; // if (isiOS) { // return; // } return $(this.options.emojiable_selector).emojiarea($.extend({ emojiPopup: this, norealTime: true }, this.options)); };

TimBest commented 7 years ago

Fixed