-
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RNKC-076] - various small updates for example (#84)
## 📜 Description Updated example project with some small fixes. ## 💡 Motivation and Context I decided to rework `KeyboardAnimation` example because of several reasons: - now two circles stick to the bottom of the screen <- it will be easier to detect any insets changes (these circles will be cut); - progress value is shown at the top of the screen (it will never be overlapped by the keyboard); - text input field will be always covered by keyboard; ## 📢 Changelog ### JS - reworked KeyboardAnimation example; - added `useResizeMode` where it was needed to assure, that everything works on API < 30 too; ### Android - set `adjustPan` for FabricExample on Android (to assure that native module actually changes necessary values); ## 🤔 How Has This Been Tested? Tested manually on Android (API 32, API 28) and iPhone (iOS 15.5). ## 📸 Screenshots (if appropriate): |Before|After| |------|-----| |<img width="284" alt="image" src="https://user-images.githubusercontent.com/22820318/194595638-9ef711ff-6116-4500-b59d-d682b41e4373.png">|<img width="280" alt="image" src="https://user-images.githubusercontent.com/22820318/194595529-3fb2797b-d99b-4c14-aa62-0bae542df697.png">| ## 📝 Checklist - [x] CI successfully passed
- Loading branch information
1 parent
0399456
commit fb3294a
Showing
9 changed files
with
87 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters