Skip to content

Commit eeb4cf0

Browse files
committed
Merge branch 'fins'
d scroll view content to scroll under navigation bar after popping view controller #117
2 parents 63d61d4 + cd85b81 commit eeb4cf0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ - (void)TPKeyboardAvoiding_keyboardWillShow:(NSNotification*)notification {
5959

6060
UIView *firstResponder = [self TPKeyboardAvoiding_findFirstResponderBeneathView:self];
6161

62+
if (!firstResponder) {
63+
return;
64+
}
65+
6266
state.keyboardRect = keyboardRect;
6367
state.keyboardVisible = YES;
6468
state.priorInset = self.contentInset;

0 commit comments

Comments
 (0)