Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix render loop in edge-to-edge when using KeyboardAvoidingView with …
…behavior: height
  • Loading branch information
zoontek committed Mar 9, 2026
commit 78143c0419446a441789f37ff1b4c3aa87c2ae1f
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class KeyboardAvoidingView extends React.Component<
];
} else {
this._subscriptions = [
Keyboard.addListener('keyboardDidHide', this._onKeyboardChange),
Keyboard.addListener('keyboardDidHide', this._onKeyboardHide),

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This solves a crazy render loop (with the UI jumping back and forth) when using KeyboardAvoidingView with behavior="height"

Keyboard.addListener('keyboardDidShow', this._onKeyboardChange),
];
}
Expand Down
Loading