fix: close popover when dragging over#31154
Conversation
|
@cubuspl42 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] |
|
Some formatting issue: |
|
Thanks for the review and your valuable feedback i'll improve and clean up the code accordingly give me a few hours and I'll ping you once i am done |
|
@cubuspl42 Added following chages, since you last reviewed -
|
|
i will be travelling for some emergency for next 2 days, if you do have any feedback or require any changes Please add comments i will work on it this weekend Sorry for delay |
|
Also, we have some conflicts that need fixing |
|
@ishpaul777 Would you merge |
|
Still failing |
|
This doesn't fail in other PRs 🤔 |
|
oops! there is typo that cause this fail |
…l777/App into fix/close-popover-on-drag
|
Thank you for fixing this. I'll proceed with filling the checklist soon. I'm sorry for the delay. |
Reviewer Checklist
Screenshots/VideosWebclose-popover-on-drag-web.mp4Mobile Web - ChromeMobile Web - SafariDesktopclose-popover-on-drag-desktop.mp4iOSAndroid |
jakub-trzebiatowski
left a comment
There was a problem hiding this comment.
Please merge main
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
hii @joelbettner, the "View the code" in about page dont have popovercontext menu inconsistent to other links on same page if you agree we need a popover context menu i would love create a follow up PR (i think this was removed as a bad merge from my PR a while ago) so i am not expecting a payment |
|
🚀 Cherry-picked to staging by https://github.com/yuwenmemon in version: 1.4.7-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to staging by https://github.com/joelbettner in version: 1.4.8-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.8-3 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.8-3 🚀
|

Details
This PR aims to close Popover when a file is dragover to resolve visual glitch in #30153
Fixed Issues
$ #30153
PROPOSAL: #30153 (comment)
Tests
@in composer), Verify when a file is dragover the the chat screen Popover hides.:[anyemojiName]in composer), Verify when a file is dragover the chat screen Popover hides.Note: When directly dragover a file on suggestions popovers the popovers don't close also the #31154 (comment)
Offline tests
QA Steps
@in composer), Verify when a file is dragover the Popover hides.:[anyemojiName]in composer), Verify when a file is dragover the Popover hides.Note: When directly dragover a file on suggestions popovers the popovers don't close #31154 (comment)
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 */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
Android: Native
Record_2023-11-13-01-39-32.mp4
Android: mWeb Chrome
Record_2023-11-13-01-33-54.mp4
iOS: Native
Screen.Recording.2023-11-13.at.3.15.03.AM.mov
iOS: mWeb Safari
trim.9E4C697D-E919-4E5A-824F-0E7AF4F45BC4.MOV
MacOS: Chrome / Safari
Screen.Recording.2023-11-14.at.2.48.56.AM-1.mov
MacOS: Desktop
Screen.Recording.2023-11-14.at.3.07.10.AM-1.mov