-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Hold #12917] [$1000] IOU - copy to clipboard appears before closing the context menu #13004
Comments
Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Huh... This is 4 days overdue. Who can take care of this? |
👋 Happened across this one hanging out here. I can reproduce it on a physical device (iOS 16, iPhone 13 Pro) on the latest staging app: Action Performed:
Actual Result Expected Result RPReplay_Final1669942198.MP4Pro-tip: knock the playback speed down a bit to see it more clearly. Adding the |
Current assignee @trjExpensify is eligible for the Bug assigner, not assigning anyone new. |
Current assignee @trjExpensify is eligible for the External assigner, not assigning anyone new. |
Job added to Upwork: https://www.upwork.com/jobs/~01f143785cdc3e8069 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
Triggered auto assignment to @PauloGasparSv ( |
@trjExpensify Checking it now. |
Nice! Any luck? |
@trjExpensify The root cause of this issue is different from my PR trying to solve. I think it's a regression of PR #12735, and has been solved by PR #12917, issue not reproducible on latest main branch. Maybe we should wait PR #12917 hit production, and close this issue. |
Proposal:
But there will be passed empty
this.setState({
reportID: '0',
- reportAction: {},
+ // reportAction: {},
selection: '',
reportActionDraftMessage: '',
isPopoverVisible: false,
+ }, ()=> {
+ this.setState({reportAction: {}})
});
}
+ componentDidUpdate(prevProps, prevState) {
+ if (prevState.isPopoverVisible && !this.state.isPopoverVisible) {
+ this.setState({reportAction: {}})
+ }
....
this.setState({
reportID: '0',
- reportAction: {},
selection: '',
reportActionDraftMessage: '',
isPopoverVisible: false,
})
} Result will be like below: Screen.Recording.2022-12-02.at.10.38.32.PM.mov |
@railway17 were you on the very latest version of Asking this because I just tested and reproduced the bug on my first try but then I pulled from main and the bug was gone. I can't reproduce this bug anymore here. |
Let me check with latest code. |
Ah.. |
Okay, niceee! I'm going to pop a hold in the title for #12917. I'll retest once it hits staging and then close it out. |
Not overdue, #12917 was deployed to staging |
@PauloGasparSv, @trjExpensify, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Okay, this has been deployed to production. I'm unable to reproduce it on the latest. @aimane-chnaif @PauloGasparSv can you give it a try for a secondary check and then we'll close it out. |
Cannot reproduce the issue here! Let's close this off : ) |
This analysis should be correct. Not reproducible |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
The context menu closes without an additional screen displayed
Actual Result:
The
copy to clipboard
menu appears quickly before the context menu is closedWorkaround:
None
Platform:
Where is this issue occurring?
Version Number: 1.2.35-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Original report:
https://user-images.githubusercontent.com/43996225/203825089-02357973-ef8d-4bf5-b09d-2a8a77af0b46.mov
TRJ reproduction:
https://user-images.githubusercontent.com/16232057/205189920-13befcd3-cef1-4332-9492-ceb3e4a862f9.MP4
Tip: knock the playback speed down a bit to see it more clearly.
Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1669224900283549
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: