[CP Staging] fix: change the contentContainerStyle for the DistanceRequest scroll view#26859
Conversation
|
@marcochavezf 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] |
Reviewer Checklist
Screenshots/VideosWeb26859web.mp4Mobile Web - Chrome26859mWebiOS.mp4Mobile Web - Safari26859safari.mp4DesktopSame as web iOSsee Mobile Web - Chrome AndroidContributor included |
[CP Staging] fix: change the contentContainerStyle for the DistanceRequest scroll view (cherry picked from commit 41526c3)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.3.64-1 🚀
@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: 1.3.64-2 🚀
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.66-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.66-3 🚀
|
Details
This fixes scrolling on the Distance request screen for devices with smaller screens such as the first generation iPhone SE.
follow up to #26728
Fixed Issues
$ #26737
https://expensify.slack.com/archives/C049HHMV9SM/p1693986149607419
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
Mobile Web - Chrome
25578-fix-android-chrome.webm
Mobile Web - Safari
drscrollfix-ios-safari.mp4
Desktop
iOS
drscrollfix-ios-native.mp4
Android
drscrollfix-android-native.webm