Skip to content
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

feat: add option to disable horizontal swiping when scroll is true. #624

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

tm-bookshop
Copy link

I'm looking to add the equivalent functionality that was added here: readium/swift-toolkit#531

@@ -148,6 +147,8 @@ internal class EpubNavigatorViewModel(
}

fun onResourceLoaded(webView: R2BasicWebView, link: Link): RunScriptCommand {
webView.scrollModeDisableSwipePaginationFlow.value = config.scrollModeDisableSwipePagination
Copy link
Author

@tm-bookshop tm-bookshop Mar 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This really doesn't feel like the right place to do this but I'm pretty unfamiliar with Kotlin/Android development. I'd love feedback on this one @mickael-menu

@tm-bookshop tm-bookshop marked this pull request as ready for review March 12, 2025 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant