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

[Bug Report] ImagePreview 在苹果手机上放大后图片模糊 #4553

Closed
RinaDad opened this issue Sep 24, 2019 · 17 comments
Closed

[Bug Report] ImagePreview 在苹果手机上放大后图片模糊 #4553

RinaDad opened this issue Sep 24, 2019 · 17 comments

Comments

@RinaDad
Copy link

RinaDad commented Sep 24, 2019

设备 / 浏览器

Iphone 7p / 微信浏览器 微信版本7.0.7

Vant 版本

1.6.18

Vue版本

2.6.10

重现链接

https://codesandbox.io/s/vant-issue-moban-z63re?fontsize=14

描述问题

ImagePreview在苹果手机上预览时,放大后图片很模糊,安卓手机正常;
见示例;
谢谢!

@PerfectYan
Copy link

而且,Safari上面点击大图不能关闭,不能左右滑动大图。iOS11.2

@chenjiahan
Copy link
Member

chenjiahan commented Sep 25, 2019

后续会修复图片模糊的问题

@chenjiahan chenjiahan added this to the 2.2.4 milestone Sep 25, 2019
@RinaDad
Copy link
Author

RinaDad commented Sep 25, 2019

好的,谢谢!!!
从1.6.18升级到2.2.4会有很多问题吗?

@sunxinyong
Copy link

请问van-area的样式在安卓上展示的非常好看,但是在iOS上 面样式非常的小,而且城市选择列表都是挤在一起的,是为什么啊?请指点一下,谢谢了。

@chenjiahan
Copy link
Member

@RinaDad 升级时参考更新日志:https://youzan.github.io/vant/#/zh-CN/changelog#bu-jian-rong-geng-xin

@sunxinyong 检查下你的 viewport 是否正确设置

@RinaDad
Copy link
Author

RinaDad commented Sep 26, 2019

好的,谢谢!

@chenjiahan chenjiahan removed this from the 2.2.4 milestone Sep 28, 2019
@chennengbao
Copy link

ImagePreview 图片预览在iOS 10.3.3 微信7.0.8 预览异常

  1. 无法左右滑动查看上下张图片
  2. 点击蒙层无法关闭图片

@chenjiahan
Copy link
Member

@chennengbao 参见 #3015

@RinaDad
Copy link
Author

RinaDad commented Nov 17, 2019

@chenjiahan 2.2.13版本,IOS手机图片放大还是模糊,麻烦帮忙看一下,谢谢!https://codesandbox.io/s/vant-issue-moban-z63re?fontsize=14

@chenjiahan
Copy link
Member

还没修复嘞,这个比较难修

@RinaDad
Copy link
Author

RinaDad commented Nov 18, 2019

好的,没事的,预计在哪个版本可以搞定哈

@chenjiahan
Copy link
Member

暂时木有预计时间,这个得重构组件的核心逻辑了。

safari 浏览器本身有 bug,通过 transform: scale 放大就会出现模糊的问题,必须通过其他方式去实现

@RinaDad
Copy link
Author

RinaDad commented Nov 18, 2019

好的,那再等等,谢谢!

@akaiya
Copy link

akaiya commented Nov 27, 2019

先放大在缩小会解决这个问题,但应该不是最终的解决方案

@chenjiahan chenjiahan changed the title [Bug Report] ImagePreview在苹果手机上预览时,放大后图片很模糊,安卓手机正常 [Bug Report] ImagePreview 在苹果手机上放大后图片模糊 Feb 5, 2020
@mengxianghan
Copy link

把 translate3d 改成 translate 就不会模糊了

@chenjiahan
Copy link
Member

把 translate3d 改成 translate 就不会模糊了

感谢反馈~ 试了下把 scale3d 改成 scale 确实能避免这个问题,下个版本会改掉

@chenjiahan
Copy link
Member

已在 2.8.6 版本修复,可以试一试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants