-
Notifications
You must be signed in to change notification settings - Fork 3k
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
feat: remove KeyboardAvoidingView
compat layer
#54101
feat: remove KeyboardAvoidingView
compat layer
#54101
Conversation
58836f2
to
a8600a1
Compare
@paultsimura Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Hi @kirillzyusko, could you please share why you replaced There are still multiple other usages, and I'm trying to understand why those remain while these two were replaced. |
Hello @paultsimura 👋 Yes, sure. Basically the purpose of replacement was to get rid off unnecessary re-render. In those two components ( It would be ideally if we could re-work other places, but in other places it could be impossible (sometimes we indeed need a reactivity and in There is another function called I hope I explained my motivation and it makes sense for you 😊 Let me know if you have any further questions! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid.webmAndroid: mWeb Chromechrome.webmiOS: NativeSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-12-16.at.19.40.08.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-12-16.at.19.40.39.mp4MacOS: Chrome / SafariN/AMacOS: DesktopN/A |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✔️
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/Julesssss in version: 9.0.77-0 🚀
|
Explanation of Change
KeyboardAvoidingView
directly fromreact-native-keyboard-controller
(without our fork)isKeyboardShown
withKeyboard.isVisible()
.Fixed Issues
$ #52958
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-12-13.at.15.09.15.mov
Android: mWeb Chrome
telegram-cloud-document-2-5395543538794520938.mp4
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-12-13.at.15.15.27.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-12-13.at.15.18.43.mp4
MacOS: Chrome / Safari
MacOS: Desktop