Edge-to-edge Bottom Safe Area Padding: Modals#57181
Edge-to-edge Bottom Safe Area Padding: Modals#57181chrispader wants to merge 20 commits intoExpensify:mainfrom
Conversation
df0bb7e to
7580ffc
Compare
|
|
1 similar comment
|
|
|
@chrispader Have you found workaround for the weird whitebar in Android? |
yes, you mean in the |
|
@chrispader This one #57281 (comment) |
no not yet, i'm continuing working on this now. Would be good to fix this alongside with this PR, because it affects all modals across the app |
just found and pushed a fix for this issue, so all modals should now have the same navigation bar style |
|
@chrispader Can you please share the progress here? |
|
I'll reduce the scope of this PR to get this merged this week! Initially i wanted to handle edge-to-edge bottom safe area padding handling for all modals across the app in this PR, but there are some issues waiting on this one. |
|
@chrispader Can we re-prioritise this PR again? |
|
I'm mostly OOO in July with 5-10h availability. Will get back to this as soon as possible, hopefully next week! |
69fb43f to
fdc2eb0
Compare
fdc2eb0 to
d89ca04
Compare
|
@shubham1206agra i'm back on this PR. Hopefully we can merge it this week! |
|
@shubham1206agra i've extracted the fix for the issue with the translucent navigation bar on Android to #69004. |
|
Still working on finishing #69430 after it got reverted. Once this is merged, i'll continue here! |
|
@shubham1206agra I'm getting back to this PR now! |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
@mountiny i'll extract parts of this PR that fix navigation bar translucency and behavior on Android into a separate PR, so we can merge this and get other people to work on migrating all of the modals. I'll set up a list of what components need to be updated and how to migrate it properly. There are lots of modals, so it might be good to split this up into multiple batches that can be merged independently. Aside from modals, there are also lots of other types of components, that need to be migrated for better bottom safe area handling, which i will also try to cover in my guide. |
|
ok that would be great, thank you |
Explanation of Change
Based on the Base PR edge-to-edge bottom safe area padding handling.
Adds necessary changes to enable edge-to-edge bottom safe area padding in modals and enables edge-to-edge mode for specific modals to fix current issues with these modals:
Done ✅
DatePickerModalEmojiPickerTODO 🏗️
SearchRouterModalThreeDotsMenuSearchAutocompleteListPopoverMenuAccountSwitcherFixed Issues
$ #64241
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
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