-
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 for Payment 2024-05-29] [$250] Web - Attachment - The action bar flickers when downloading a video. #39598
Comments
Triggered auto assignment to @mountiny ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
We think that this bug might be related to #vip-vsb |
Job added to Upwork: https://www.upwork.com/jobs/~01756abc8d4e07a5e1 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rojiphil ( |
This seems like a minor bug that does not effect users experience |
Upwork job price has been updated to $250 |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
|
ProposalPlease re-state the problem that we are trying to solve in this issue[Attachment modal]: The video player controls bar flickers when opening / closing the video's 3-dot popover menu. What is the root cause of that problem?Tip These steps are enough to reproduce the flicker:
This happens due to our
Our issue occurs between (2.) and (3.) in very quick succession which causes the flicker of the video player controls bar because of this condition here, specifically the What changes do you think we should make in order to solve the problem?For a more holistic, well-rounded solution I propose we introduce a new boolean prop to the How do we use this new prop ? We only need to apply it in two places:
Note Both of these are needed to prevent the unnecessary Then we simply pass This will not only fix our issue but also add a new prop which can be leveraged in the future whenever a portal (popover / modal) is open and we want to avoid the extra renders caused by the unnecessary Videos (before / after)MacOS: Chrome / Safari
|
@rojiphil Can you please review the proposal? thanks! |
I will review the proposals today and share the update. |
On trying to reproduce the issue with the latest main, I could not find the flickering behavior. Instead, it simply hides the action bar (i.e. on clicking outside of the popover or on clicking on a popover menu item). This makes sense to me as the user click may occur outside or inside the video player as shown in the video below. Later, whenever there is a hover over the video player, the action bar shows up which I think is expected too. So, I am wondering if any fix is required here. 39598-flickering-issue.mp4 |
That does make sense @kbecciv can you still reproduce this on latest staging? |
PR #41125 ready for review! 🎉 Note This behaviour and fix can observed only on large layout devices where hover event is available, therefore testing on narrow layout devices which use touch is not necessary as there won't be any changes in behaviour. @rojiphil Despite the notes from above, in case you're going to attempt testing iOS: mWeb on a real physical device, just know that there's a bug unrelated to this issue / PR: You can still test iOS: mWeb on Simulator where this bug is not reproducible. |
Thanks @ikevin127 for the PR and the relevant updates. |
This issue has not been updated in over 15 days. @rojiphil, @mountiny, @ikevin127 eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
PR deployed to staging. Awaiting production deployment. |
Triggered auto assignment to @laurenreidexpensify ( |
$250 to @ikevin127 and to @rojiphil |
Payment only due next week |
Payment tomorrow |
Payment Summary:
Looks like this was reported by Applause, no regression test required. Closing |
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: v1.4.60-1
Reproducible in staging?: y
Reproducible in production?: n
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The action bar doesn't flicker when downloading a video.
Actual Result:
he action bar flickers when downloading a video
Workaround:
n/a
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6437920_1712233909357.Video.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @laurenreidexpensifyThe text was updated successfully, but these errors were encountered: