-
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
[$500] IOS - The app flashes after selecting 'Copy to Clipboard' #30706
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01d6cd889f3d0aa3a9 |
Triggered auto assignment to @bfitzexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.IOS - The app flashes after selecting 'Copy to Clipboard' What is the root cause of that problem?This is visible effect of Modal disappearing. What changes do you think we should make in order to solve the problem?We need to fix Mobile animation issue when close Modal. Then that effect will not appear What alternative solutions did you explore? (Optional)Screen.Recording.2023-11-01.at.9.27.34.PM.mov |
I was not able to reproduce this on the latest iPhone 15 models or simulators, this might only be happening on older devices due to performance. ProposalPlease re-state the problem that we are trying to solve in this issueAfter selecting 'Copy to Clipboard' on a chat message via the context menu, there's a flash when the popup closes. What is the root cause of that problem?This was an issue of The solution was they added the This is already used within our codebase, for example in the
What changes do you think we should make in order to solve the problem?Add the VideosiOS: NativeScreen.Recording.2023-11-03.at.14.59.45.mov |
@bfitzexpensify, @aimane-chnaif Huh... This is 4 days overdue. Who can take care of this? |
Either of those proposals look good @aimane-chnaif? |
@bfitzexpensify I'd like to confirm the bug here. "flash" means "no animation"? |
@aimane-chnaif - yes, that sounds correct to me |
I have to disagree, if we look at the OP video frame by frame we can see that the context menu closes before the backdrop does which cause that "flash" visual: iOS: Native - Frame by frame "flash"Screen.Recording.2023-11-08.at.16.07.49.movThis is what I think the issue refers to, otherwise it would've said something along the lines of: "no animation when context menu closes". Otherwise, allowing the context menu to animate-out does fix the visual issue but that will also add the same animation upon clicking on any other context menu item when the menu closes: Reply in thread, Subscribe to thread, Copy link, Mark as unread and Flag as offensive. Which I'm not sure we want to do here because some of the items in the menu have different closing behaviour: in If something changed and a transition-out animation is required when closing the menu no matter the menu item pressed, then dismiss this comment. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
ProposalProblemThe app flashes after selecting 'Copy to Clipboard' Root CauseThe flash occurs because we intentionally set animationOutTiming={1} to have an animation out timing of only 1 millisecond. This change was made as part of this PR approximately two years ago, with the aim of optimizing chat switching performance. Proposed ChangeIt would be more appropriate to retain animationOutTiming={1} only for large screens. Chat switching performance is not a concern when the popover is open for full-screen modals, as no user interactions can take place during this time. However, instead of a flash, which is detrimental to the user experience, we should consider using a smoother animation to improve the overall UX. Screen.Recording.2023-11-08.at.10.14.29.PM.mov |
Good call @ikevin127 - I went frame-by-frame and I agree with this
Also agree, I don't think we want to have the same animation across all actions |
@bfitzexpensify, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@bfitzexpensify, @aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
How do these proposals look @aimane-chnaif? |
@bfitzexpensify @aimane-chnaif this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
reviewing now |
@lanitochka17 can you please clarify what "flash" means here? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Bump on the questions in #30706 (comment) @lanitochka17 - thank you! |
hi, @bfitzexpensify how do you think about my proposal? |
Hi @lanitochka17, clarifying questions:
|
@bfitzexpensify @aimane-chnaif this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Issue not reproducible during KI retests. (First week) |
OK, considering this has been identifed as not reproducible, I think we can close this for the moment. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.3.94.0
**Reproducible in staging?:**Y
**Reproducible in production?:**n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
**Issue reported by:**Applause - Internal Team
Slack conversation:
Issue found when executing PR #30085
Action Performed:
Expected Result:
The app does not flash after selecting 'Copy to Clipboard'
Actual Result:
The app flashes after selecting 'Copy to Clipboard'
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6259491_1698849945657.Screen_Recording_20231101_102829_New_Expensify__2_.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: