|
|
@ -3903,7 +3903,7 @@ typedef enum : NSUInteger {
|
|
|
|
} else if (wasScrolledToBottom) {
|
|
|
|
} else if (wasScrolledToBottom) {
|
|
|
|
// If we were scrolled to the bottom, don't do any fancy math. Just stay at the bottom.
|
|
|
|
// If we were scrolled to the bottom, don't do any fancy math. Just stay at the bottom.
|
|
|
|
[self scrollToBottomAnimated:NO];
|
|
|
|
[self scrollToBottomAnimated:NO];
|
|
|
|
} else {
|
|
|
|
} else if (self.isViewCompletelyAppeared) {
|
|
|
|
// If we were scrolled away from the bottom, shift the content in lockstep with the
|
|
|
|
// If we were scrolled away from the bottom, shift the content in lockstep with the
|
|
|
|
// keyboard, up to the limits of the content bounds.
|
|
|
|
// keyboard, up to the limits of the content bounds.
|
|
|
|
CGFloat insetChange = newInsets.bottom - oldInsets.bottom;
|
|
|
|
CGFloat insetChange = newInsets.bottom - oldInsets.bottom;
|
|
|
|