aron / annotator.touch.js

Touch device support for Annotator
http://github.com/aron/annotator.touch.js
64 stars 21 forks source link

[iPad]: Injecting annotator inside iframe #6

Open marcelomiura opened 10 years ago

marcelomiura commented 10 years ago

I have an application that uses iframe to show contents in epub's format. In every page I need to inject the file into the book to enable the annotations. In Android it works fine, but in iOS, when I select the text and press the button to annotate, it simply not showing the textarea.

In the code, I found that in a feel seconds before the _onAdderTap method is triggered, the 'range' property becomes null and the method cannot do it's work.

Any ideas for solving it?

trnelson commented 10 years ago

I am having this exact same issue also. Touch annotations work perfectly on my page, but when wrapped in an iframe, the text area does not appear when clicking the Annotate button.

meg-griffin commented 8 years ago

I am having this issue as well. Any help would be greatly appreciated!

abardaro commented 8 years ago

On all mobile OS's, the js doesn't work when you try to annotate by highlighting more than one word (e.g. multiple words, a sentence, or paragraph).

Has anyone been able to figure out a fix?

ghost commented 8 years ago

I am having the same issue, Any fixes for this yet ?

snsxn commented 8 years ago

Me too with this issue. Textarea doesn't appear on iframe