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

ImagePreview 在ios微信浏览器下,点击图片背景会滚动 #5426

Closed
zhouxiankai opened this issue Dec 30, 2019 · 15 comments
Closed

Comments

@zhouxiankai
Copy link

ImagePreview 在ios微信浏览器下,点击图片背景会滚动,
image
点击后的图片也会弹到最上面,不在最中间显示
vant 2.2.2
ios 10.2

@zhouxiankai
Copy link
Author

vue版本是2.6.6

@chenjiahan
Copy link
Member

最上面蓝色的区域是什么内容喔?

@zhouxiankai
Copy link
Author

上面蓝色的是app的头部,我写好蓝色下面的内容嵌入进去。
点击后 黑色背景的弹框高度跟我的页面高度是一样高的了 可以滚动的

@chenjiahan
Copy link
Member

是只在 iOS 10 下出现吗

@zhouxiankai
Copy link
Author

最新的也有

@chenjiahan
Copy link
Member

我这儿没复现唉,能提供个复现问题的 codesandbox 链接么

@chenjiahan
Copy link
Member

抱歉不加 v,你可以把 ImagePreview 放到外层试下,可能被父元素的样式影响了

@zhouxiankai
Copy link
Author

还是不行 ,是因为我的页面是镶在iframe下的原因么
image

@chenjiahan
Copy link
Member

跟 iframe 关系不大,有可能是组件样式被某些全局样式覆盖导致的

@JuSanZhi
Copy link

JuSanZhi commented Jan 2, 2020

ios11.2 ,图片无法关闭,无法缩放拖动

@chenjiahan
Copy link
Member

@15878345704 升级 2.4.0 试试

@JuSanZhi
Copy link

JuSanZhi commented Jan 2, 2020

@chenjiahan 升级了2.4.0 图片可以关闭,但是无法缩放拖动

@chenjiahan
Copy link
Member

目前在有兼容性的系统上只能做到正常关闭,问题的原因是:#3015

@JuSanZhi
Copy link

JuSanZhi commented Jan 2, 2020

@chenjiahan 关于图片无法缩放问题,我不能把vue版本降到2.5.22,会影响到我其他组件的使用,目前我的vue是2.6.10,请问还有其他方法么

@chenjiahan
Copy link
Member

木有了

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

3 participants