Fix: Empty state screen is not at the middle#59141
Fix: Empty state screen is not at the middle#59141cristipaval merged 1 commit intoExpensify:mainfrom
Conversation
|
@hoangzinh 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] |
| showsVerticalScrollIndicator={false} | ||
| contentContainerStyle={[styles.flexGrow1, styles.flexShrink0]} | ||
| > | ||
| <EmptyStateComponent |
There was a problem hiding this comment.
@twilight2294 is there any way that we can put this [styles.flexGrow1, styles.flexShrink0] into EmptyStateComponent? To avoid repeated code.
There was a problem hiding this comment.
ScrollView takes the full screen view, so it has to be added to the container which is being used, so I guess this is the way
Reviewer Checklist
Screenshots/Videos |
|
✋ 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/cristipaval in version: 9.1.21-0 🚀
|
|
🚀 Deployed to production by https://github.com/grgia in version: 9.1.21-3 🚀
|






Explanation of Change
Fixed Issues
$ #56690
$ #59136
PROPOSAL: N/A
Tests
Same as QA
Offline tests
Same as QA
QA Steps
Precondition:
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop