[ContextMenu] Do not drag window on click and drag action on the context menu#18365
[ContextMenu] Do not drag window on click and drag action on the context menu#18365AndrewGable merged 2 commits into
Conversation
Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com>
|
@AndrewGable @fedirjh 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/VideosDesktopScreen.Recording.2023-05-03.at.9.05.51.PM.mov |
|
Both @fedirjh and @Prince-Mendiratta - Please include screenshots for all platforms. |
fedirjh
left a comment
There was a problem hiding this comment.
Looks good , left comment to address other edge cases.
Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com>
|
Resolved suggestions mentioned by @fedirjh, added the recordings for all platforms in the OP! |
fedirjh
left a comment
There was a problem hiding this comment.
Looks good and tests well 🚀 🚀
cc @AndrewGable
|
✋ 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/AndrewGable in version: 1.3.11-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.12-0 🚀
|





Details
With this PR, we are fixing the issue when the context menu in a report overlapped with the Header, long pressing and dragging on the quick emoji reactions moved the window.
Fixed Issues
$ #18234
PROPOSAL: #18234 (comment)
Tests
Offline tests
N/A
QA Steps
Same as above.
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.mp4
Mobile Web - Chrome
android-mWeb.mp4
Mobile Web - Safari
iOS-mWeb.mp4
Desktop
desktop.mp4
iOS
iOS.mp4
Android
android.mp4