File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -968,7 +968,7 @@ - (void)slk_reloadInputAccessoryViewIfNeeded
968
968
}
969
969
}
970
970
// Reload only if the input views if the frame doesn't match the text input bar's.
971
- else if (self. textView . inputAccessoryView && CGRectGetHeight (self.textView .inputAccessoryView .frame ) != CGRectGetHeight (self.textInputbar .bounds )) {
971
+ else if (CGRectGetHeight (self.textView .inputAccessoryView .frame ) != CGRectGetHeight (self.textInputbar .bounds )) {
972
972
self.textView .inputAccessoryView = [self emptyInputAccessoryView ];
973
973
[self .textView refreshInputViews ];
974
974
}
@@ -1141,7 +1141,7 @@ - (void)slk_didShowOrHideKeyboard:(NSNotification *)notification
1141
1141
// Updates the dismiss mode and input accessory view, if needed.
1142
1142
[self slk_reloadInputAccessoryViewIfNeeded ];
1143
1143
1144
- // Very important to invalidate this flag after the keyboard is dismissed or presented
1144
+ // Very important to invalidate this flag after the keyboard is dismissed or presented, to start with a clean state next time.
1145
1145
self.movingKeyboard = NO ;
1146
1146
}
1147
1147
You can’t perform that action at this time.
0 commit comments