Skip to content

Commit

Permalink
Adjust scrolling/paging when rows are removed
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Mar 22, 2012
1 parent 760fabd commit 9cf1b1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions List.js
Expand Up @@ -408,6 +408,10 @@ function(arrayUtil, kernel, declare, listen, aspect, has, miscUtil, TouchScroll,
self.removeRow(row); // now remove
}
}
// the removal of rows could cause us to need to page in more items
if(self._processScroll){
self._processScroll();
}
}
if(to > -1){
// add to new slot (either before an existing row, or at the end)
Expand Down

0 comments on commit 9cf1b1f

Please sign in to comment.