-
Notifications
You must be signed in to change notification settings - Fork 116
Improve UX Consistency in Spine Navigation #701
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
base: develop
Are you sure you want to change the base?
Conversation
# Conflicts: # readium/navigator/src/main/java/org/readium/r2/navigator/pager/R2ViewPager.kt
|
Thank you, @erkasraim! It looks very promising. I'm sorry for the delay in reviewing your PR, I've had a lot on my plate. I did notice an issue when testing, sometimes it crashed when jumping to a different location (at least in scroll mode) far away in the book: I addressed the crash in this commit: 632e7c6 But I believe there's a more fundamental issue because now it doesn't restore the location. You can test this by setting a bookmark in the middle of a chapter and then trying to jump back and forth between distant locations and this bookmark. Sometimes you will end up at the beginning of the resource instead of the bookmark location. Do you have any idea? |
|
There's an error with the webview. I don't think you can reliably use |
I’ve migrated R2RTLViewPager to R2RTLViewPager2.
The key changes are as follows:
Applying RTL is now much simpler with ViewPager2.
With ViewPager2's support for both horizontal and vertical orientation,
WebViews can now be laid out vertically in scroll mode, which provides a better user experience.
In R2RTLViewPager2’s onInterceptTouchEvent(),
touch events are controlled based on the WebView's scroll state,
allowing for smoother swipe handling when switching between pages containing WebViews.
issue link : #703