Fix reveal message button is copiable even though it's not selectable#24563
Conversation
|
@narefyev91 Please 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.movDesktopdesktop.mov |
narefyev91
left a comment
There was a problem hiding this comment.
LGTM!
🎀 👀 🎀 C+ reviewed
|
✋ 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/jasperhuangg in version: 1.3.55-0 🚀
|
|
We are facing an issue when copying message with <$a icon> Is this expected? ![Uploading 261484081...] |
|
@mvtglobally the video did not upload - can you try again? |
trim.B74F117E-925C-4CB8-A403-D7F0D98AC2A9.MOV |
|
Looks like Copy to clipboard context menu is disabled on a hidden message, so I enable it manually but still can't reproduce it (tested on web & desktop). It looks similar to this one #18343 though. |
|
@mvtglobally could you please create a new issue for this? I'm unable to reproduce this with emoji, so could you also share the icon that you are using, please? As for the deploy, this doesn't seem critical enough to block the deployment until Monday so I'm going to check it off. |
|
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 1.3.56-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.56-24 🚀
|




Details
The reveal message button is not selectable, but we can still copy it by triple clicking the hidden message description or by dragging the selection over the reveal message button.
Fixed Issues
$ #24156
PROPOSAL: #24156 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Web/Desktop
Android/iOS/mWeb
Can't select the message on these platforms, just make sure there are no errors.
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-08-15.at.11.19.42.mov
Mobile Web - Chrome
Mobile Web - Safari
Desktop
Screen.Recording.2023-08-15.at.11.22.59.mov
iOS
Android