Skip to content
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ export class KeyboardCompatibleView extends React.Component<

_relativeKeyboardHeight(keyboardFrame: KeyboardMetrics) {
const frame = this._frame;
if (!frame || !keyboardFrame) {
/**
* With iOS 14 & Reduce Motion > Prefer Cross-Fade Transitions enabled, the keyboard position
* height is reported differently (0 instead of Y position value) which caused the view to take full height
* of the screen.
*/
if (!frame || !keyboardFrame || keyboardFrame.screenY === 0) {
return 0;
}

Expand Down