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

chore: allow disabling keyboard avoidance #232

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

MounirDhahri
Copy link
Member

This PR resolves []

Description

This PR adds support to disabling keyboard avoidance to Screen.Body

Why am I adding this?
When the user dismisses a screen where they had the keyboard visible, the KeyboardAvoidingView takes action of adjusting the screen content in order to fit it within the screen. Most of the cases, this will result in nothing, since there is nothing to push up, however in the case where we have a sticky button (like the case of SWA landing page "Start Selling" button), we will see that button going down along with the keyboard. Which is something you wouldn't expect since the screen wasn't active.

Screen.Recording.2024-06-05.at.10.21.58.mov

@MounirDhahri MounirDhahri self-assigned this Jun 5, 2024
@artsy-peril artsy-peril bot added the Version: Minor A deploy for new features label Jun 5, 2024
@MounirDhahri MounirDhahri merged commit b9fca1f into main Jun 5, 2024
6 checks passed
@MounirDhahri MounirDhahri deleted the chore/support-disabling-keyboard-avoidance branch June 5, 2024 08:43
@artsyit
Copy link
Collaborator

artsyit commented Jun 5, 2024

🚀 PR was released in v13.2.10 🚀

@artsyit artsyit added the released This issue/pull request has been released. label Jun 5, 2024
@dariakoko
Copy link
Contributor

Thank you Mounir!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released. Version: Minor A deploy for new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants