Open wolfgangmm opened 3 years ago
Safari reports the selection on the entire outer div:
Note that the selection is reported as collapsed, even though text was selected.
On further investigation it looks like this is a known safari issue: https://bugs.webkit.org/show_bug.cgi?id=163921. I guess it would be ok to just show Safari users a warning that annotations require either chrome or firefox.
Probably only Chrome requires
shadowRoot.getSelection
.