-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various reflowable EPUB columns shift issues #166
Various reflowable EPUB columns shift issues #166
Comments
I also have issues with going to a locator with an anchor fragment (i.e. |
@johanpoirier there's a method that's javascript getting called but the definition is missing. Please check the below-mentioned ticket. For now, you can change tat and call scrollToTag method in utility.js |
Yes I did see that and I used |
ah for that can u try this
@johanpoirier can you try this. Add this method to utils.js. And call scrollAnchor from Kotlin like this
|
This is caused by those lines of code: https://github.com/readium/r2-navigator-kotlin/blob/develop/r2-navigator/src/main/java/org/readium/r2/navigator/R2WebView.kt#L735-L738 The My question is: why are we mixing touch pointers values into |
It looks like the offset issues are caused by some rendering bug in Android's Web View, but we have a potential workaround enabled by Readium CSS: readium/readium-css#97 |
I pushed a PR which addresses the offset issue at least in my use cases, using the latest version of Readium CSS. I'm not 100% sure it fixes all of the reported offset issues. readium/r2-navigator-kotlin#178 Note that
This should be fixed as well, would you mind double-checking with this PR? |
thanks @mickael-menu , I'll test that next monday. |
I just tested it on my own app and the r2-testapp but the offset issue is still present in this case. |
Sounds good, might be that we're using different test cases. Thanks for taking a look! |
On some books, when swiping through the content, the EPUB columns are shifting and are not aligned anymore. This reverts by tapping on the edges.
I could reproduce this on oryel_1984.zip from this issue: #167
The text was updated successfully, but these errors were encountered: