简体   繁体   English

离子框架离子滚动捏缩放iOS会导致图像模糊。

[英]Ionic framework ion-scroll pinch to zoom on iOS causes blurred images.

I have setup an ion-scroll tag with a background image, when running on iOS it appears to take a snapshot of it zoomed out and scroll that which results in blurred images. 我已经设置了一个带有背景图像的离子滚动标签,当在iOS上运行时,它会显示缩小的快照并滚动导致图像模糊。

I have tried swapping PNG for SVG but the same issue happens. 我尝试过交换PNG for SVG,但同样的问题也发生了。

I have looked on the official forum and there seems to be no answer yet, so I wondered if there was a CSS rule I could use or whether there was an alternative angularjs directive I could use. 我看过官方论坛,似乎还没有答案,所以我想知道是否有一个我可以使用的CSS规则,或者是否有一个我可以使用的替代angularjs指令。

I ran into this issue while trying to display an image in an Ionic v1 ion-scroll container and was able to address it. 我试图在Ionic v1离子滚动容器中显示图像时遇到了这个问题,并且能够解决它。 I posted my results on StackOverflow: 我在StackOverflow上发布了我的结果:

Ion-scroll blurs my image when zooming in in ionic framework 在离子框架中放大时,离子滚动会模糊我的图像

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM