Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent phone input number from being hidden behind keyboard (#5124
) ### Description Uses the keyboard aware scroll view to prevent the keyboard from obscuring the 'continue' button when the phone number input is selected. Also sets SafeAreaView to `height: '100%'` instead of `flexGrow: 1` to prevent continue buttons from render off screen when large fonts are used as this can prevent users from advancing to the next screen. #### Backup Introduction | iOS Before | iOS After | Android Before | Android After| | ---- | ---- | ---- | ---- | | ![](https://github.com/valora-inc/wallet/assets/26950305/affe652e-b51b-4317-84b2-1c7b16eca336) | ![](https://github.com/valora-inc/wallet/assets/26950305/9e21bad8-c657-448c-b48e-614b27e46d9c) | ![](https://github.com/valora-inc/wallet/assets/26950305/0b65d949-cfa6-4d82-afd9-ee79fa1f5dcd) | ![](https://github.com/valora-inc/wallet/assets/26950305/943b5ca3-e701-4895-a323-c01f5767d1b5) | #### Wallet Security Primer | iOS Before | iOS After | Android Before | Android After| | ---- | ---- | ---- | ---- | | ![](https://github.com/valora-inc/wallet/assets/26950305/8fc1864d-9deb-484f-9512-3cf62a0aec69) | ![](https://github.com/valora-inc/wallet/assets/26950305/53373533-1f1b-4ba1-b267-738ef998358f) | ![](https://github.com/valora-inc/wallet/assets/26950305/3b71cca2-3494-4fe5-8350-e353cfc2e75f) | ![](https://github.com/valora-inc/wallet/assets/26950305/75a4c793-dcdd-4f3a-914f-da5f9afa3d69) | #### Phone Number Input | iOS Before | iOS After | Android Before | Android After| | ---- | ---- | ---- | ---- | | ![](https://github.com/valora-inc/wallet/assets/26950305/169b5cf7-efc5-4446-9580-1060f0880b97) | ![](https://github.com/valora-inc/wallet/assets/26950305/8a465ed1-4fe8-4e92-83ce-ab19f2887a74) | ![](https://github.com/valora-inc/wallet/assets/26950305/32350789-6876-44e4-981c-5c218e44a4c8) | ![](https://github.com/valora-inc/wallet/assets/26950305/2ad1b100-163a-4901-a4b5-3cc1f5b37e60) | ### Test plan - [x] Tested locally on iOS - [x] Tested locally on Android ### Related issues - Fixes ACT-1117 ### Backwards compatibility Yes ### Network scalability N/A
- Loading branch information