We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d7205f commit 08078a4Copy full SHA for 08078a4
packages/react-native/React/Views/ScrollView/RCTScrollView.m
@@ -330,7 +330,7 @@ - (void)_keyboardWillChangeFrame:(NSNotification *)notification
330
if ([[UIApplication sharedApplication] sendAction:@selector(reactUpdateResponderOffsetForScrollView:) to:nil from:self forEvent:nil]) {
331
// Inner text field focused
332
CGFloat focusEnd = self.firstResponderFocus.origin.y + self.firstResponderFocus.size.height;
333
- if (focusEnd > endFrame.origin.y) {
+ if (focusEnd > endFrame.origin.y && focusEnd != INFINITY) {
334
// Text field active region is below visible area with keyboard - update offset to bring into view
335
newContentOffset.y += focusEnd - endFrame.origin.y;
336
}
0 commit comments