diy / jquery-emojiarea

A rich textarea control that supports emojis, WYSIWYG-style.
298 stars 87 forks source link

JQuery .focus() not working #5

Open fauria opened 11 years ago

fauria commented 11 years ago

Focusing on a textarea that has been converted to emojiarea does not work:

$("#my-textarea").focus();

thisandagain commented 10 years ago

Could you provide some additional details? What version of jquery are you using and can you provide an example?

philippsander commented 9 years ago

I know this post is old, but +1 I really need this to work

pleqtron commented 8 years ago

However this "bug" is old ... the solution is to work with plain JS or do it this way:

$('.emoji-wysiwyg-editor').get(0).focus();

Seems like it is working without any issues as far as I can tell.