jQuery Mobile Scrollview

后端 未结 2 407
我在风中等你
我在风中等你 2020-12-09 07:22

So I\'m trying to make a scrollable list:

2条回答
  •  不思量自难忘°
    2020-12-09 07:50

    Nice thread here, like to contribute a small note:

    If you like the grey areas in Safari to disappear in jQuery mobile pages when scrolled, you can use:

    document.ontouchmove = function(e){
        e.preventDefault();
    }
    

    Also more importantly, this will enable you to work with offline databases more efficiently, because normally the UI (touchmove event) interrupts SqlLite DB functions on mobile devices, this way interruption is avoided.

提交回复
热议问题