I am using iScroll and it's working perfect. When it comes to form elements like input and select, it works though when one taps these elements the iphone keypad comes up and the element has to be focused which makes sense. But this also moves the document scroller to top hiding the header which I don't want.
Would you help me write a function which will sense if there are elements focused and then preventDefault it but scrollTo the iScroll instead of window.iSc开发者_如何学Pythonroll.
Does that make sense?
精彩评论