Monaca Onsen UI Discord Chat Github Repo

change lazy-repeat behavior



  • Hello,

    Is it possible to change how the lazy repeat gets rid of items? Instead of list items being destroyed, I’d like to just have them hidden (display:none). The reason is because items have some dynamic changes made to them (for example, checkboxes checked, or expandable items expanded), and if they are removed (instead of hidden, like I’d want), the changes are lost. I could build an array to keep track, I suppose, but that’d be a huge pain.