fix copy button does not work on the first click#20957
Conversation
|
@abdulrahuman5196 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] |
|
@gadhiyamanan |
|
@abdulrahuman5196 added, thanks! |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-06-17.at.10.11.36.PM.movMobile Web - Chromeaz_recorder_20230617_222532.mp4Mobile Web - SafariUntitled.52.mp4DesktopUntitled.53.mp4iOSScreen.Recording.2023-06-17.at.10.29.48.PM.movAndroidaz_recorder_20230617_224216.mp4 |
abdulrahuman5196
left a comment
There was a problem hiding this comment.
Code looks good and works well. Reviewers checklist is also complete.
All yours. @srikarparsi
🎀👀🎀
C+ Reviewed
srikarparsi
left a comment
There was a problem hiding this comment.
lgtm! thanks for the changes!
|
✋ 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/srikarparsi in version: 1.3.30-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.30-5 🚀
|
Details
Fix copy button does not work on the first click
Fixed Issues
$ #20491
PROPOSAL: #20491 (comment)
Tests
Offline tests
Same as Tests
QA Steps
Same as tests
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
Web.mov
Mobile Web - Chrome
Android-chrome.mp4
Mobile Web - Safari
mweb-safari.mov
Desktop
Desktop.mov
iOS
IOS.mp4
Android
Android.mp4