Skip to content

Commit f6535bd

Browse files
committed
Animated change of contentOffset for case with changing keyboard height
1 parent 2c3cc0f commit f6535bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ - (void)TPKeyboardAvoiding_keyboardWillShow:(NSNotification*)notification {
8888
[self setContentOffset:CGPointMake(self.contentOffset.x,
8989
[self TPKeyboardAvoiding_idealOffsetForView:firstResponder
9090
withViewingAreaHeight:viewableHeight])
91-
animated:NO];
91+
animated:YES];
9292

9393
self.scrollIndicatorInsets = self.contentInset;
9494
[self layoutIfNeeded];

0 commit comments

Comments
 (0)