Skip to content

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

@zhuzhu-jane

Description

@zhuzhu-jane

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

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

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions