From 9cf1b1fb17f11fb32a1c3ffc44191180edb3ed9b Mon Sep 17 00:00:00 2001 From: Kris Zyp Date: Thu, 22 Mar 2012 16:38:33 -0600 Subject: [PATCH] Adjust scrolling/paging when rows are removed --- List.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/List.js b/List.js index 2c50d78d4..af91f7deb 100644 --- a/List.js +++ b/List.js @@ -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)