-
Notifications
You must be signed in to change notification settings - Fork 77
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
imagePreview组件在ios上预览时,无法滚动 #132
Comments
Can you try to give a reproducible demo ,This access allows us to troubleshoot problems together more efficiently |
it can not use touchmove to move, because i need to use it in mobile |
请问目前有后续进展吗 |
同学,你指的应该是长图在预览大图时无法滚动?我们复现了这个问题并提mr修复了,见 #137 这周会发新包哈~ |
请问具体发布时间是什么时候呢? |
@halaproliu 同学,新版本已经发布~ |
我看了下没有解决我的问题,我这边是预览的时候长图,在ios无法滑动。我调试了下,移除preview-image-wrap上的touchmove事件就可以了。 |
@halaproliu 无法滑动的是打开大图之前 在文档流中的图,还是打开大图之后全屏的图呀? |
打开后,在非文档流中,挂载在body的 |
@halaproliu 同学,按照你给的demo代码尝试,你的问题还是没有复现。长图的滑动是通过transform手动实现的,前置会获取图片的边界(rect)。你的不可滑动可能是因为设置了某些特殊样式,识别图片边界时不对。你可以检查下,打开大图后,标签的rect与标签父元素的rect的并集,是否是完整的图片区域。 |
@TinaPeach 也许提供的demo不对吧,我查看过,是因为touchmove事件的原因,而我本身没有添加这个事件 |
imagePreview组件在ios app的webview和safari浏览器内预览时,无法滚动,找了下原因发现是preview-image-wrap元素上的onTouchmove事件导致的,请问目前有解决方案吗。
The text was updated successfully, but these errors were encountered: