-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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: close popover when dragging over #31154
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 |
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.
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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