开发者

iScroll and Fixed Document Problem

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜