angular-ui / ui-tinymce

AngularUI wrapper for TinyMCE
MIT License
488 stars 371 forks source link

Blur event does not fire correctly on previously focused element when focusing the editor #278

Closed lee-tunnicliffe closed 8 years ago

lee-tunnicliffe commented 8 years ago

Plunker demonstrating the issue.

Reproduction steps: !) Open in ios device. 2) click the top input 3) click the editor 4) click the bottom input 5) click the editor

Notice that the focus is still in the previous input and the caret is not showing in the editor and none of the events are firing. I'm not using this wrapper in the plunker so this isn't actually an issue with the wrapper itself but I have some idea about how a fix could be added to the wrapper until they fix the issue in tinymce.

It is similar to https://github.com/tinymce/tinymce/issues/2471 and they don't seem very motivated to fix that which is why I think it could be fixed in this wrapper.

lee-tunnicliffe commented 8 years ago

Closed as not an issue with the wrapper. I can provide the solution if you would like to fix it here.