Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

Problem in ons-lazy-repeat



  • Hi everybody and Fran Diox !!!

    I want to ask about the case when I add <ons-list-header>title</ons-list-header> in ons-lazy-repeat .

    <ons-page ng-controller="MyCtrl">
      <ons-toolbar>
        <div class="center">Lazy Repeat</div>
      </ons-toolbar>
    
      <ons-list>
        <ons-list-header>title</ons-list-header>
        <ons-list-item ons-lazy-repeat="MyDelegate">
          {{item.name}}
        </ons-list-item>
      </ons-list>
    </ons-page>
    

    http://codepen.io/happyboydk89/pen/oLbodO

    And if, the height of the item is not equal, we will handle that problem how ?