sencha touch ios8.1 iframe无法滚动

时间:2014-10-27 08:50:46

标签: iframe scroll sencha-touch ios8.1

1.sencha touch 2.3.1

2.I使用iframe,它在IOS7.x上运行良好

3.升级到IOS8.1时,iframe无法滚动

4.IOS8.1在safari中运行良好,但在发送到主屏幕时,打开它无法正常工作。

为什么?是个错误?

我的iframe代码如下:

<div style="-webkit-overflow-scrolling:touch;background:url(resources/images/loading.gif) center center no-repeat; height:500px; overflow: auto;">
<iframe src="/abc.html" width="100%" height="100%" frameborder="0" >
</iframe>
</div>

2 个答案:

答案 0 :(得分:0)

尝试设定固定高度。它有效吗?

另外,尝试添加:

overflow-y: scroll; 

到你的画面。

答案 1 :(得分:0)

8.1的一个已知问题。我正在经历同样的事情。令人惊讶的是,iframe滚动在chrome中运行良好,但Safari有问题。

http://www.applevis.com/blog/apple-ios-news/accessibility-fixes-and-improvements-ios-81