Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix keyboard hiding alt text input after viewing DMs on iOS #5739

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

haileyok
Copy link
Contributor

@haileyok haileyok commented Oct 14, 2024

Fixes #5705

Why

Extremely weird case, but the react-native-keyboard-controller library requires us to do this here, since we enable and then disable it on the DMs screen. If we don't do so when opening/closing a dialog as well, we get into a weird state where the scrollview doesn't resize appropriately when needed.

Eventually, this won't be needed at all (see open draft PR for fully handling the scroll in swift) but for now let's do this since it's an easy OTA patch.

Test Plan

Observe the current behavior and the new behavior.

Current

Screen.Recording.2024-10-13.at.11.20.58.PM.mov

New

Screen.Recording.2024-10-13.at.11.23.31.PM.mov

@arcalinea arcalinea temporarily deployed to hailey/fix-alt-for-real - social-app PR #5739 October 14, 2024 06:27 — with Render Destroyed
Copy link

Old size New size Diff
7.89 MB 7.89 MB 0 B (0.00%)

@haileyok haileyok merged commit 432dc86 into main Oct 14, 2024
6 checks passed
@haileyok haileyok deleted the hailey/fix-alt-for-real branch October 14, 2024 15:02
haileyok added a commit that referenced this pull request Oct 14, 2024
haileyok added a commit that referenced this pull request Oct 14, 2024
rshigg pushed a commit to rshigg/social-app that referenced this pull request Nov 2, 2024
rshigg pushed a commit to rshigg/social-app that referenced this pull request Nov 2, 2024
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.

REGRESSION - Keyboard obscures the text entry box when adding alt text in app.
3 participants