[CP Staging] Prevent overflow empty UI and space above skeleton#47555
[CP Staging] Prevent overflow empty UI and space above skeleton#47555Beamanator merged 1 commit intoExpensify:mainfrom
Conversation
|
@allroundexperts Pls review this PR |
|
@tienifr Can you please add test steps? |
|
@allroundexperts requesting you review since you were C+ on this PR - #42413 I can help add test steps so we can move forward with this |
|
Test 1:
Test 2:
|
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-08-17.at.4.01.25.AM.movAndroid: mWeb ChromeScreen.Recording.2024-08-17.at.4.00.06.AM.moviOS: NativeScreen.Recording.2024-08-17.at.3.58.09.AM.moviOS: mWeb SafariScreen.Recording.2024-08-17.at.3.48.15.AM.movMacOS: Chrome / SafariScreen.Recording.2024-08-17.at.3.40.44.AM.movMacOS: DesktopScreen.Recording.2024-08-17.at.3.45.44.AM.mov |
| minHeight: 20, | ||
| }, | ||
|
|
||
| minHeight65: { |
There was a problem hiding this comment.
Is there a reason behind this naming? 65 seems random to me.
There was a problem hiding this comment.
Ah, I see. Multiple of 4.
There was a problem hiding this comment.
Hmm wouldn't 64 be a multiple of 4?
Prevent overflow empty UI and space above skeleton (cherry picked from commit faf2480) (CP triggered by Beamanator)
|
✋ 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/Beamanator in version: 9.0.21-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.0.21-4 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.0.21-4 🚀
|
|
|
||
| return ( | ||
| <View style={[styles.flex1, styles.overflowHidden]}> | ||
| <View style={[styles.flex1, styles.overflowHidden, styles.minHeight65]}> |
There was a problem hiding this comment.
This min-height without ScrollView causes the issue #53689

Details
Fixes regressions from #42413
Fixed Issues
$ #47553
$ #47524
PROPOSAL:
Tests
Test 1:
Test 2:
Offline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: Native
Screen.Recording.2024-08-16.at.16.14.13.mov
Android: mWeb Chrome
Screen.Recording.2024-08-16.at.16.11.56.mov
iOS: Native
Screen.Recording.2024-08-16.at.15.31.16.mov
iOS: mWeb Safari
Screen.Recording.2024-08-16.at.16.09.38.mov
MacOS: Chrome / Safari
Screen.Recording.2024-08-16.at.16.14.47.mov
MacOS: Desktop
Screen.Recording.2024-08-16.at.16.17.19.mov