PhoneGap onscroll不工作,直到滚动停止 [英] Phonegap onscroll not working untill scroll stops

查看:134
本文介绍了PhoneGap onscroll不工作,直到滚动停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用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,但我不想使用它们,因为他们是太bug。如何解决我的问题?
感谢

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? Thanks

推荐答案

你会在这里找到你的答案:
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屋!

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