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

Update Screen.tsx #2568

Merged
merged 2 commits into from Nov 28, 2023
Merged

Update Screen.tsx #2568

merged 2 commits into from Nov 28, 2023

Conversation

JenimDacket
Copy link
Contributor

Updated the component prop "behavior" as it was setting the non-ios value to "undefined" instead of "height".

This was causing malfunctions on android devices and emulators.

Please verify the following:

  • [ x] yarn test jest tests pass with new tests, if relevant
  • [x ] README.md has been updated with your changes, if relevant

Describe your PR

Updated the boilerplate component prop "behavior" as it was setting the non-ios value to "undefined" instead of "height".

This was causing malfunctions on android devices and emulators.

Updated the <KeyboardAvoidingView> component prop "behavior" as it was setting the non-ios value to "undefined" instead of "height". 

This was causing malfunctions on android devices and emulators.
@frankcalise
Copy link
Contributor

@JenimDacket thanks for the contribution! Can you explain some test steps to me so I can verify it is working versus the old behavior for testing purposes?

@frankcalise
Copy link
Contributor

Ok I see the issue, the screen doesn't make the scroll adjustment so the keyboard isn't blocking the TextField with undefined versus height on Android, tested it. Thanks!

@frankcalise frankcalise merged commit c9311d1 into infinitered:master Nov 28, 2023
1 check passed
infinitered-circleci pushed a commit that referenced this pull request Nov 28, 2023
## [9.0.3](v9.0.2...v9.0.3) (2023-11-28)

### Bug Fixes

* **boilerplate:** Android Screen keyboard behavior ([#2568](#2568) by @JenimDacket) ([c9311d1](c9311d1))
* **boilerplate:** flex property removed from tabbar label style ([#2569](#2569) by @Amarpsp10) ([200063f](200063f))
* **boilerplate:** rn 0.72.7 and expo 49.0.21 ([#2560](#2560) by [@frankcalise](https://github.com/frankcalise)) ([e9ad8b8](e9ad8b8))
@infinitered-circleci
Copy link

🎉 This PR is included in version 9.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@JenimDacket
Copy link
Contributor Author

JenimDacket commented Nov 28, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants