watusi / jquery-mobile-iscrollview

JQuery Mobile widget plug-in for easy use of the iScroll javascript scroller.
408 stars 183 forks source link

Enhanced html and no refresh - not scrolling #105

Closed play75010 closed 11 years ago

play75010 commented 11 years ago

Hello.

I'm trying to speed things up by sending enhanced HTML. Instead of sending

  • , I'm sending everything that jquery mobile adds (by using firebug) : <li class="ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-li-has-icon ui-btn-up-c" data-corners="false" data-sha.....

    Then, instead of calling .listview('refresh'), I only need to call .listview()

    But there is no scrolling anymore. Each time I try stop scrolling, I'm taken back to the top.

    Is there a way to do that ?

  • play75010 commented 11 years ago

    OUPS. I was missing an "updatelayout".

    Sorry.