fix: update style if icon is in button#30417
Conversation
Reviewer Checklist
Screenshots/Videos |
chiragsalian
left a comment
There was a problem hiding this comment.
code LGTM, waiting on @getusha to review/test before i merge it.
getusha
left a comment
There was a problem hiding this comment.
@chiragsalian all yours!
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
fix: update style if icon is in button (cherry picked from commit 020ba40)
|
🚀 Cherry-picked to staging by https://github.com/chiragsalian in version: 1.3.91-7 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.91-8 🚀
|
|
🚀 Deployed to staging by https://github.com/chiragsalian in version: 1.3.93-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.93-1 🚀
|






Details
Fixed Issues
$ #30400
PROPOSAL: #30400 (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
Android: Native
30400_android_native.mp4
Android: mWeb Chrome
30400_android_chrome.mp4
iOS: Native
30400_ios_native.mp4
iOS: mWeb Safari
30400_ios_safari.mp4
MacOS: Chrome / Safari
30400_mac_chrome.mp4
MacOS: Desktop
30400_mac_desktop.mp4