Skip to navigation Skip to content
SKILL.NULL
  • 首页
  • 前端
    • Browser Compatibility
    • HTML&CSS
    • JavaScript
    • Vue
    • React
  • 后端
    • Python
    • Go
    • NodeJS
    • PHP
  • 数据
    • MySql
  • 其他
    • 设计模式
    • Webpack
    • 微信小程序
    • 微信
    • SVG
    • Git
  • 夏如眷
SKILL.NULL

日期:2019年8月19日

iframe在ios上不能滚动问题解决方法

同这篇文章一样,用到了-webkit-overflow-scrolling: touch;属性。主要解决方案是在iframe外层添加一个div,然后设置-webkit-overflow-scrolling属性。

例如:

1
2
3
<div class="content-iframe-wrapper">
    <iframe frameborder="0" class="content-iframe" src=""></iframe>
</div>

[c[……]

2019-08-20by SKILLNULL Browser Compatibility, HTML&CSS 阅读(15040)评论(0)
东风杨柳岸,岁月如烟
2019年八月
一 二 三 四 五 六 日
« 7月   9月 »
 1234
567891011
12131415161718
19202122232425
262728293031  
github    cnblogs   
◉ 常用JS方法库    ◉ JS拖拽    ◉ 一键获取设备信息   
标签
Ajax Animation bodymovin BootStrap BrowserCompatibility CentOS Cookie DataBase echarts ExtractTextPlugin FileSaver Git HTML&CSS JavaScript JS异步编程 JS深度比较两个对象 lottie NodeJS npm Other PhantomJS PHP PropTypes puppeteer React react-router Redux SEO shadowsocks Shell sshpass superset VPN Vue Webpack 兼容问题 内存泄露 前端错误监控 夏如眷 微信 微信小程序 正则 爬虫 笛卡尔心形线 设计模式
©2025  李亚飞  皖ICP备15024198号