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

图片查看器蒙层上下滑动后出现的问题 #13

Open
zhuzhu-jane opened this issue Aug 8, 2019 · 0 comments
Open

图片查看器蒙层上下滑动后出现的问题 #13

zhuzhu-jane opened this issue Aug 8, 2019 · 0 comments
Assignees

Comments

@zhuzhu-jane
Copy link

在图片查看器的蒙层上下滑动后,退出查看器,界面会相应的上下滑动到别的地方去。
猜测是 touch 相关事件继续传播了,有使用 e.preventDefault 吗?

还是很感谢大大写的组件哈!我现在临时的解决办法是,在打开图片查看器先 mark 下当前 document 的 scrollTop,关闭后再重新设置当前文档的 scrollTop!

希望大大能从根源解决这个问题!

@lidianhao123 lidianhao123 self-assigned this Sep 27, 2019
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

No branches or pull requests

2 participants