-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Shift right when selection text #1366
Comments
@johnfactotum do you have some solutions for this? |
Has anyone fixed this problem yet? |
遇到了,苦苦研究三天,找到一个方法,添加下面的代码可以做到:当选择内容跨页时,取消框选
再在onSelectionChange 方法添加
思路是这样的,当开始选择文字的时候,将 .epub-container 的 overflow的hidden改为 auto 这里使用 document.querySelector(".epub-container"); 拿容器,因为我是基于源码改的,所以不知道从内部有没有更好的办法 拿到 container的document |
I met this issue using EpubJS 0.3.93. It happens to me when I'm selecting some text. The page auto-shift right looks like the screen. Anyone have solution to fix this?
The text was updated successfully, but these errors were encountered: