Fix: Waypoint Fade-out shade looks different on iOS#26720
Fix: Waypoint Fade-out shade looks different on iOS#26720neil-marcellini merged 4 commits intoExpensify:mainfrom
Conversation
src/components/DistanceRequest.js
Outdated
| <LinearGradient | ||
| style={[styles.pAbsolute, styles.b0, styles.l0, styles.r0, {height: halfMenuItemHeight}]} | ||
| colors={[theme.transparent, theme.modalBackground]} | ||
| colors={[`${theme.modalBackground}00`, theme.modalBackground]} |
There was a problem hiding this comment.
move this to new getTransparentColor util function
|
Bump @situchan |
| pressDimValue: 0.8, | ||
| qrShareHorizontalPadding: 32, | ||
|
|
||
| baseMenuItemHeight: 64, |
There was a problem hiding this comment.
Good find of duplicated definition!
|
|
||
| /** | ||
| * Get transparent color by setting alpha value 0 of the passed color | ||
| */ |
There was a problem hiding this comment.
Let's add comment that color string expects to be #xxxxxx format for now.
If we need to use this function in the future with various color types (#xxx, #xxxx, #xxxxxxxx, rgb(), rgba()), should support them as well.
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
situchan
left a comment
There was a problem hiding this comment.
![]()
@neil-marcellini all yours!
neil-marcellini
left a comment
There was a problem hiding this comment.
Thank you @Pujan92 this looks great!
|
|
||
| moneyRequestSkeletonHeight: 107, | ||
|
|
||
| distanceScrollEventThrottle: 16, |
There was a problem hiding this comment.
NAB: this might be better in CONST because it's not strictly about styles, but I'm not too concerned about it
|
✋ 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/neil-marcellini in version: 1.3.66-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.66-3 🚀
|
Details
#24447
Fixed Issues
$ #24447
PROPOSAL: #24447 (comment)
Tests
Offline tests
QA Steps
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
Mobile Web - Safari
Simulator.Screen.Recording.-.iPhone.11.-.2023-09-05.at.02.02.18.mp4
Desktop
iOS
Simulator.Screen.Recording.-.iPhone.11.-.2023-09-05.at.01.57.36.mp4
Android