Skip to content

Commit b7f2624

Browse files
committed
Addressed bug introduced in SHA 7a89fc7
1 parent 4652cd5 commit b7f2624

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ - (void)TPKeyboardAvoiding_keyboardWillShow:(NSNotification*)notification {
6060
}
6161

6262
state.keyboardRect = keyboardRect;
63-
state.keyboardVisible = YES;
6463

6564
if ( !state.keyboardVisible ) {
6665
state.priorInset = self.contentInset;
6766
state.priorScrollIndicatorInsets = self.scrollIndicatorInsets;
6867
state.priorPagingEnabled = self.pagingEnabled;
6968
}
70-
69+
70+
state.keyboardVisible = YES;
7171
self.pagingEnabled = NO;
7272

7373
if ( [self isKindOfClass:[TPKeyboardAvoidingScrollView class]] ) {

0 commit comments

Comments
 (0)