-
Notifications
You must be signed in to change notification settings - Fork 151
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
Weird Scroll Behavior #158
Comments
What version of epubjs-rn do you have? |
Та же проблема. Для корректной работы приходится перехватывать нативный скролл на уровне реак нейтив и блокировать его во время выделения текста. |
+1 the same on Android, and also weird onLocationChange behavior |
I realized I never responded to this. I am using the most up to date version of the library. This is definitely just the default behavior of WkWebview. After a lot of research I discovered the best solution is to just recreate select behavior manually. Even amazon does this in the Kindle app. For now I turned off text selection all together and added a custom svg rectangle around a word on tap. It's not perfect but it works for my purposes. |
Whenever selecting text near the left or right edge of the screen the webview scrolls to the next page. This causes undesired text to be selected. In addition to this whenever a selection is dragged it causes undesired scrolling.
Screenshots/Videos:
Environment:
The text was updated successfully, but these errors were encountered: