直到滚动停止,Phonegap onscroll才起作用 [英] Phonegap onscroll not working until scroll stops
问题描述
我正在使用phonegap和jquery mobile开发一个ios应用程序.我的应用程序中有一个可以滚动的列表,我可以使用
I'm developing an ios app using phonegap and jquery mobile. I have a list in my application that can scroll and I use
-webkit-overflow-scrolling: touch; overflow : scroll;
关于滚动感觉就像是原生的.我的问题是直到滚动停止才触发onscroll事件.仅在手指位于屏幕顶部(处于触摸移动状态)时触发,此后直到停止才触发.我知道其他一些滚动插件,例如iscroll,但我不想使用它们,因为它们太过马车了.我该如何解决我的问题?
as for scrolling to feel like native. My problem is that onscroll event does not triggered until scroll stops. It is triggered just when your finger is on top of the screen ( in touchmove state) and after that it does not triggered until it stops. I know about some other scroll plugins like iscroll , but I don't want to use them , because they are too buggy. How can I solve my problem?
推荐答案
您将在这里找到答案: http://developer.telerik.com/featured/scroll-event-change-ios-8-big-deal/
You will find your answer here: http://developer.telerik.com/featured/scroll-event-change-ios-8-big-deal/
这篇关于直到滚动停止,Phonegap onscroll才起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!