Skip to content

Commit

Permalink
[timob-5301] In 'scrollViewDidEndDragging', perform 'handleNewKeyboar…
Browse files Browse the repository at this point in the history
…dStatus' to insure actively edited fields are scrolled back into view.
  • Loading branch information
rseagraves committed Sep 19, 2011
1 parent 238187f commit a735e00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion iphone/Classes/TiUITableView.m
Expand Up @@ -2037,6 +2037,8 @@ - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL
[event setObject:[TiUtils sizeToDictionary:tableview.bounds.size] forKey:@"size"];
[self.proxy fireEvent:@"scrollEnd" withObject:event];
}
// Update keyboard status to insure that any fields actively being edited remain in view
[[[TiApp app] controller] performSelector:@selector(handleNewKeyboardStatus) withObject:nil afterDelay:0.0];
}

- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView
Expand All @@ -2063,4 +2065,4 @@ - (void) searchDisplayControllerDidEndSearch:(UISearchDisplayController *)contro

@end

#endif
#endif

0 comments on commit a735e00

Please sign in to comment.