-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[CP Staging] fix: FormProvider had bottom safe area by default #58481
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
[CP Staging] fix: FormProvider had bottom safe area by default #58481
Conversation
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
I'm on it |
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeN/A only android native iOS: NativeiOS: mWeb SafariN/A only android native MacOS: Chrome / SafariScreen.Recording.2025-03-14.at.21.44.24.movMacOS: DesktopScreen.Recording.2025-03-14.at.21.44.24.mov |
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.
All yours @mountiny
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…bottom-safe-area [CP Staging] fix: FormProvider had bottom safe area by default (cherry picked from commit 80ad5be) (CP triggered by mountiny)
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.1.13-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.13-5 🚀
|
@mountiny @techievivek
Explanation of Change
The
FormProvider
component applied bottom safe area by default. I added theaddBottomSafeAreaPadding
flag with a default value offalse
, same as for the other components in #57128. In this case, it makes sense though to set the default value totrue
.Fixed Issues
$ #58434
$ #58500
PROPOSAL:
Tests
For both cases:
On Android, enable the "three button navigation bar
Workspace taxes page
Wallet page /
AddPersonalBankAccountPage
(Example in screenshots attached)
Offline tests
QA Steps
Same as in Tests.
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
Before:
After: