Skip to content

Commit 78143c0

Browse files
committed
Fix render loop in edge-to-edge when using KeyboardAvoidingView with behavior: height
1 parent e34e57a commit 78143c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ class KeyboardAvoidingView extends React.Component<
208208
];
209209
} else {
210210
this._subscriptions = [
211-
Keyboard.addListener('keyboardDidHide', this._onKeyboardChange),
211+
Keyboard.addListener('keyboardDidHide', this._onKeyboardHide),
212212
Keyboard.addListener('keyboardDidShow', this._onKeyboardChange),
213213
];
214214
}

0 commit comments

Comments
 (0)