readium-js-viewer
readium-js-viewer copied to clipboard
Hypothes.is annotations: similar text is being anchored in both content and UI
This issue is a Bug
Related issue(s) and/or pull request(s)
Loosely related to: #653
Expected Behaviour
Text being annotated in the book content should stay in the book content and not appear as an anchor in the UI or vice versa.
Observed behaviour
Annotations with similar text are being anchored (highlighted) by the hypothesis client across all frame levels, which means the UI top level frame and the book content frames.
Steps to reproduce
- Open https://readium.firebaseapp.com/?epub=epub_content%2Faccessible_epub_3&goto=epubcfi(/6/20!/4/2%5Bbuilding_a_better_epub%5D/2/1:0)
- Open the sidebar and login to hypothes.is
- Switch to a private group or be prepared to make a private annotation
- Highlight the chapter header's "Building a Better EPUB" phrase.
- Open the ToC. Notice that the same phrase is also annotated there as a duplicate.
Test file(s)
https://readium.firebaseapp.com/?epub=epub_content%2Faccessible_epub_3&goto=epubcfi(/6/20!/4/2%5Bbuilding_a_better_epub%5D/2/1:0)
Product
- Readium cloud reader app
- latest development build uploaded at https://readium.firebaseapp.com
- Chrome 62
- macOS 10.13.1
Additional information
This sounds like a bug with H itself and not with this project. Let's keep a tab of it here.
Related: https://github.com/readium/readium-js-viewer/issues/653