Repository navigation
chore: bump react-native-keyboard-controller to 1.22.9 - #7835
diegolmello wants to merge 2 commits into
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Upgrade keyboard controller package.json, patches/react-native-keyboard-controller+1.18.5.patch |
The dependency version changes to 1.22.9. The removed patch previously changed the onConfigurationChanged parameter type in two Android classes. |
Priority:
Estimated code review effort: 1 (Trivial) | ~5 minutes
Change: Other
Possibly related PRs
- RocketChat/Rocket.Chat.ReactNative#7840: Adds an Expo install exclusion for the same dependency to preserve the version updated here.
Suggested labels: type: chore
Suggested reviewers: rohit3523
Merge Risk: 
Minimal · up to 734b6
-
The dependency update is ready to merge based on the inspected install and Android compatibility paths.
Pre-merge checks: 
4
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Warning
Errors were encountered while retrieving linked issues.
Errors: 1
-
- JIRA integration encountered authorization issues. Please disconnect and reconnect the integration in the CodeRabbit UI.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
|
iOS Build Available Rocket.Chat 4.78.0.110080 |
|
Android Build Available Rocket.Chat 4.78.0.110077 Internal App Sharing: https://play.google.com/apps/test/RQQ8k09hlnQ/ahAO29uNR4HgoI0ovWKKalMMfvl7adhSIAub0lu9roCCCUzGZ2ayAN50jjRmH_rTVJ4i7yqghMZfRWFFH08sryxkrc |
Proposed changes
Bumps
react-native-keyboard-controllerfrom 1.18.5 to 1.22.9, pinned exactly.The local patch
react-native-keyboard-controller+1.18.5.patchis removed: it only madeonConfigurationChangedtake a non-nullConfigurationinEdgeToEdgeReactViewGroup.ktandKeyboardBackgroundViewGroup.kt, and 1.22.9 ships that signature upstream.react-native-external-keyboardis unchanged.Issue(s)
https://rocketchat.atlassian.net/browse/NATIVE-1826
How to test or reproduce
e2e/tests/keyboardNavigation: components, onboarding, room) pass on an emulator withhw.keyboard = yes.Screenshots
Types of changes
Checklist
Further comments
The three Android keyboard navigation flows pass on CI with 1.22.9, with durations similar to 1.22.7 and 1.18.5. In one run the room flow passed only on retry, after its first attempt failed the initial focus check on the rooms list sidebar; a rerun passed with no retries.
1.22.9 rather than 1.22.7: on iOS, 1.22.7's
KeyboardAwareScrollViewswaps its scroll view's class to disablescrollRectToVisibleand never restores it, so a recycled native scroll view can carry that into a later plainScrollView. 1.22.9 restores the class on recycle.On Android the composer moves slightly ahead of the keyboard animation (about 0.1–0.3 s) when it opens and closes; this was compared on 1.22.7 and is identical on 1.18.5, so it is not introduced here.
Summary by CodeRabbit