Reset hover state to selected emoji#15552
Conversation
|
@stitesExpensify @aimane-chnaif One of you needs to 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] |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.mp4Desktopdesktop.moviOSios.mp4Androidandroid.mov |
aimane-chnaif
left a comment
There was a problem hiding this comment.
Looks good and tests well.
Also tested with new account where preferred skin tone was not set.
cc: @stitesExpensify
|
@stitesExpensify can you plz look into this |
|
Hi there, I was OOO sick most of last week. I will review this today! |
|
Sorry for the delay on my end, this will not affect payment |
|
✋ 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/stitesExpensify in version: 1.2.80-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.2.80-2 🚀
|
Details
Hover state was reseting to the -1 index and we also have a skin tone with value of -1. To fix this issue we are reseting hover state by setting index back to selected skin tone.
Fixed Issues
$ #15490
PROPOSAL: #15490 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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
web.mov
Mobile Web - Chrome
android-chrome.mov
Mobile Web - Safari
ios-safari.mov
Desktop
desktop.mov
iOS
ios.mov
Android
android.mov