Skip to content

Fixed the keyboard overlapping the textfield during device rotation on iOS - #3407

Draft
Vladimir Mazunin (mazunin-v-jb) wants to merge 2 commits into
v.mazunin/cmp-10727-app-freeze-after-textfields-rotatefrom
v.mazunin/cmp-10775-keyboard-overlapping
Draft

Fixed the keyboard overlapping the textfield during device rotation on iOS#3407
Vladimir Mazunin (mazunin-v-jb) wants to merge 2 commits into
v.mazunin/cmp-10727-app-freeze-after-textfields-rotatefrom
v.mazunin/cmp-10775-keyboard-overlapping

Conversation

@mazunin-v-jb

Copy link
Copy Markdown

Refactored OffsetToFocusedRectNode to take the size from its measure Constraints sinceComposeScene.size is not a snapshot state and nothing recomposes on rotation (so the node kept the pre-rotation size and computed a zero offset)

Fixes: CMP-10775 [iOS] Keyboard overlaps TextField after device rotation

Testing

Manual + added iOS instrumented test

Release Notes

Fixes - iOS

  • Fix the focused text field being covered by the keyboard after device rotation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant