Comments (5)
请教一下,我ios图片预览,点击图片没反应,是怎么回事
from previewimage-mobile.
@congyingww 你是iOS8吗?如果是iOS8可能是iOS的版本太低不支持,iOS9.2没问题,我用虚拟机试测试过。
from previewimage-mobile.
安卓4.4以下、ios8版本不兼容。和玉大师一起纠结了一下午。。
from previewimage-mobile.
里面用了transform translate3d scale作为移动和放大用 ios只支持9.2以上,如果想要做兼容可以根据ios版本号,修改下里面的translateScale函数对低版本降级使用position,和width,height进行位移和放大
from previewimage-mobile.
@yanghuiLu 并不是,需要对低版本的样式加前缀就好了。-webkit 需要都加下,translate3d 只是对iphone4不兼容。对ios8.0及低版本安卓手机,添加前缀即可。亲测有效。
from previewimage-mobile.
Related Issues (15)
- vue中如何使用? HOT 2
- 怎么加longtap(长按)事件? HOT 7
- 关闭容器时,translate3d横坐标不要使用当前屏幕宽度,横竖屏切换时会导致容器无法隐藏 HOT 1
- 图片被旋转 HOT 1
- 安卓上滑动手势判断的问题
- 你好 安卓使用许多浏览器会出现以下两种情况是什么原因呢 HOT 2
- 图片放大会糊掉 本身图片是高清的 HOT 1
- 体验问题
- 在ios上查看图片书数量大于25的时候会自动刷新页面甚至会闪退 HOT 1
- 图片没有上下居中是什么原因 我显示的总是在最顶上 HOT 2
- 图片内容可以从canvas里面获取吗? HOT 1
- 可以增加一个配置用于图片旋转吗
- 手机端问题:页面加载完成立即点击第一张图片,不能左右滑动,也不能关闭预览
- vue要怎么使用
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from previewimage-mobile.