Cordova / Phonegap:JQuery UI手风琴在ios8上不再滚动了 [英] Cordova/Phonegap: JQuery UI Accordion doesn't scroll anymore on ios8

查看:165
本文介绍了Cordova / Phonegap:JQuery UI手风琴在ios8上不再滚动了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在cordova框架(html / css / js)中编写的iOS应用程序。要显示内容,它使用JQuery UI中的手风琴。手风琴有固定的高度,所以当内容需要滚动,当一个页面大。 Til的iOS8更新一切工作正常,现在我不能滚动内容了。滚动工作时,我点击手风琴的标题,但不是与内容。



任何人都知道什么可能导致这种情况?



我检查过的东西

- cordova最新的

- jQuery最新的

- XCode最新的

- 使用Safari Debugger我在CSS中找不到任何区别

- 同一个应用程序在ios 7.1上工作

- xcode模拟器中的行为差异



感谢



Christian

解决方案

p>我有同样的问题。我必须更新我的cordova到最新的(3.6.3),我的滚动开始工作了。



更新: b
$ b

我刚刚遇到了另一个问题,似乎打破了iOS 8中的滚动。我一直使用 bouncefix.js ,但似乎这个库与最新的cordova和iOS 8不兼容。只是注释掉这个javascript库重新启用在我的应用程序滚动。



在iOS 8之前,bouncefix.js运行得很好,没有导致任何滚动问题。


I got an App for iOS written within the cordova framework (html/css/js). To display contents it uses the Accordion from JQuery UI. The Accordion has fixed height so that the contents needs scrolling when it's to large for one page. Til the iOS8 Update everything worked fine, now i can't scroll the contents anymore. Scrolling works when i tap on the header of the accordion but not with then content.

Anyone an idea what could cause this?

Things i checked
- cordova up to date
- jQuery up to date
- XCode up to date
- with Safari Debugger i don't find any diferences in CSS
- same App works on ios 7.1
- difference in behaviour also present in emulator of xcode

Thanks

Christian

解决方案

I had the same problem. I had to update my cordova to the latest (3.6.3) and my scrolling started working again.

Update:

I just ran across another issue that appears to break scrolling in iOS 8. I had been using bouncefix.js, but it appears that this library isn't compatible with the latest cordova and iOS 8. Simply commenting out this javascript library re-enabled scrolling in my app.

Prior to iOS 8, bouncefix.js worked pretty well and didn't cause any issues with scrolling.

这篇关于Cordova / Phonegap:JQuery UI手风琴在ios8上不再滚动了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆