lib/ProMotion/table/table.rb in ProMotion-2.0.0.rc4 vs lib/ProMotion/table/table.rb in ProMotion-2.0.0.rc5

- old
+ new

@@ -186,10 +186,10 @@ def tableView(tableView, sectionForSectionIndexTitle:title, atIndex:index) return index unless ["{search}", UITableViewIndexSearch].include?(self.table_data_index[0]) if index == 0 - tableView.setContentOffset(CGPointZero, animated:false) + tableView.scrollRectToVisible(CGRectMake(0.0, 0.0, 1.0, 1.0), animated:false) NSNotFound else index - 1 end end