-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix unable to open reaction list after coming back from another chat #20739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix unable to open reaction list after coming back from another chat #20739
Conversation
|
@francoisl @thesahindia 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] |
|
Looks like there's a conflict already, can you please update the PR @bernhardoj? |
|
Conflict solved |
|
Friendly bump for the review @thesahindia |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-06-16.at.12.06.08.AM.movMobile Web - ChromeScreen.Recording.2023-06-16.at.12.47.56.AM.movMobile Web - SafariScreen.Recording.2023-06-16.at.1.00.09.AM.movDesktopScreen.Recording.2023-06-16.at.12.18.58.AM.moviOSScreen.Recording.2023-06-16.at.12.55.06.AM.movAndroidScreen.Recording.2023-06-16.at.12.44.29.AM.mov |
thesahindia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
cc: @francoisl
francoisl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
✋ 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/francoisl in version: 1.3.29-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.29-11 🚀
|
Details
Currently, we are using a global ref for the reaction list. When the page unmount, the ref will be null and because it's a global ref, other pages can't use it anymore.
Fixed Issues
$ #20513
PROPOSAL: #20513 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
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
Screen.Recording.2023-06-14.at.11.18.44.mov
Mobile Web - Chrome
WhatsApp.Video.2023-06-14.at.12.19.14.mp4
Mobile Web - Safari
Screen.Recording.2023-06-14.at.11.33.12.mov
Desktop
Screen.Recording.2023-06-14.at.11.21.16.mov
iOS
Screen.Recording.2023-06-14.at.11.31.11.mov
Android
WhatsApp.Video.2023-06-14.at.12.19.08.mp4