readium-shared-js
readium-shared-js copied to clipboard
CFI bookmarking etc. ("navigation logic"?) fails in Internet Explorer (v11, Windows 10)
Hello Juan (@JCCR), I've been testing the bookmarking "export" feature to check that the reading location is restored correctly in Chrome, Firefox, Edge and IE...unfortunately in Internet Explorer this feature fails. The yellow highlighted character does not show up when creating the "shared CFI bookmark", and the incorrect (first) page is opened when loading a URL with a specific CFI. I'm not sure whether this is related to the "CFI navigation logic" lag (CPU spike): https://github.com/readium/readium-shared-js/issues/247
This bug can be reproduced with the standard implicit "bookmarked" reading location, not just with the explicit "share" CFI goto URL parameter.
I test with: https://readium.firebaseapp.com/?epub=epub_content%2Faccessible_epub_3
This appears to be fixed in Edge by https://github.com/readium/readium-shared-js/commit/a5d1644281ca2b41094cebd0b0a2a843adbde6ba Thanks @JCCR :) However, in IE I am able to consistently reproduce an offset error which means that the position of the highlighted / bookmarked character range is a few steps behind. To test, open: https://readium.firebaseapp.com/?epub=epub_content%2Faccessible_epub_3 ...and click on the "share URL" button in the navbar. If the yellow highlight appears in the top-left corner, then it works fine on this page. Try the next page. Repeat until the yellow highlight does not appear in the top-left corner of the reflowable page spread. When this happens, quickly press the escape key to discard the popup modal dialog, and quickly press the left arrow key to display the previous set of pages => the highlighted character range is in the lower-right corner.
Closing as fixed.