r2-testapp-kotlin icon indicating copy to clipboard operation
r2-testapp-kotlin copied to clipboard

Highlight issue, when migrated to latest 2.0.0 it become

Open ajay9889 opened this issue 3 years ago • 4 comments

In 2.0.0-beta.1 it was not the issue. But, when migrated it reappears the issue upon migrating to 2.0.0.

Before adding the highlights in the database, the highlight was working fine: Please refer to below screen. It is correctly placed when adding into the Highlight database.

Screenshot_1621741567

But, when clicking and navigating from the highlight list it is getting in the wrong place.

Screenshot_1621741586

ajay9889 avatar May 23 '21 03:05 ajay9889

I can't reproduce this issue in r2-testapp-kotlin, did you?

mickael-menu avatar May 25 '21 09:05 mickael-menu

No, the highlight issue is still there in the test app also when are using our ePub book in which has the chapter link. Kindly see the recorded video. Please check the actual root cause so that we can fix it as we have lined up a pilot launch.

https://user-images.githubusercontent.com/9216373/120606548-e236ce80-c481-11eb-91cf-5296ee375212.mp4

https://user-images.githubusercontent.com/9216373/120606592-ee229080-c481-11eb-8cda-beb62d439477.mp4

Epub Book:

nck_epub.zip

ajay9889 avatar Jun 03 '21 07:06 ajay9889

@ajay9889 I'm sorry but I don't have any time planned for the current highlights implementation, you will need to find a workaround or a bugfix yourself.

mickael-menu avatar Jun 03 '21 07:06 mickael-menu

Just add this code in line 66 of the highlight.js file

document.addEventListener("DOMContentLoaded", function(event) { setScrollMode(false); });

parsakhosravani avatar Jul 13 '21 12:07 parsakhosravani