-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-04-03] [$250] Android - Menu - The bottom menu flickers on tapping app's back button from overview page #57279
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
Comments
Triggered auto assignment to @MitchExpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The bottom menu flickers on tapping app's back button from overview page What is the root cause of that problem?This issue was caused by Expensify/App#49539. When navigating back to a screen that includes the bottom tab,
Line 581 in cb8aad4
What changes do you think we should make in order to solve the problem?To resolve this issue, we use opacity instead of display. By adjusting the opacity from 0 to 1, the tab bar remains in the layout flow, ensuring smoother transitions without reflows. Line 581 in cb8aad4
update to: opacity: shouldDisplayTopLevelBottomTabBar ? 1 : 0, or ...(Platform.OS === 'web'
? { display: shouldDisplayTopLevelBottomTabBar ? 'flex' : 'none' }
: { opacity: shouldDisplayTopLevelBottomTabBar ? 1 : 0 }), Screen.Recording.2025-02-22.at.22.49.21.movWhat specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
Line 581 in cb8aad4
are reload. Causing a flickering effect where they momentarily disappear before reappearing. This behavior is visible in the OP’s video. What changes do you think we should make in order to solve the problem?
Line 581 in cb8aad4
Line 581 in cb8aad4
by:
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional)
Line 581 in cb8aad4
by:
|
Job added to Upwork: https://www.upwork.com/jobs/~021893815349803323599 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The bottom menu flickers on tapping app's back button from overview page What is the root cause of that problem?The bottom menu is shown on specific predefined screens. It has incorrect display style between What changes do you think we should make in order to solve the problem?We can take an alternative approach, ensuring that the bottom tab bar is shown and hidden at the appropriate times, rather than relying on the current implementation: What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A What alternative solutions did you explore? (Optional) |
@Ollyws Whoops! This issue is 2 days overdue. Let's get this updated quick! |
I don't really like the idea of just setting the opacity to zero as the bar will still be there, I think the question is why are the child items seemingly re-rending again after the initial layout? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Menu - The bottom menu flickers on tapping app's back button from overview page What is the root cause of that problem?When navigating to the workspace overview, the bottom tab is hidden, and it is redisplayed when returning to the workspace settings based on the following condition: Line 575 in 22e7d27
This condition was introduced in software-mansion-labs#172 to fix the issue of the bottom tab blinking. The flickering issue occurs because when the App/src/components/ImageSVG/index.ios.tsx Line 12 in 5a8a260
I think this is a bug related to What changes do you think we should make in order to solve the problem?I'm not sure whether this behavior in For a fix, we can use the Note I have tested approach across the app and did not experience any flickering issues. We should confirm with the author of that PR what specific problem it resolved before proceeding with the fix. What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?No, UI bug What alternative solutions did you explore? (Optional)N/A |
@linhvovan29546 I think that's going in the right direction but won't using the transform style again re-introduce the blinking that software-mansion-labs#172 fixed? |
I’m not sure what issue that PR fixed, so we should confirm with the author which specific problem it addressed. |
@Ollyws As I mentioned in my proposal, only the image is reloaded, the parent component is not re-rendered:
|
Well it seems to me that the removal of the transform was integral to fixing that issue, but maybe @adamgrzybowski could chime in here. |
My proposal has mentioned the PR that caused this issue, and I believe @adamgrzybowski will be able to confirm or ask C+. cc @Ollyws |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@Ollyws Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@Ollyws Eep! 4 days overdue now. Issues have feelings too... |
@Ollyws, Asking @adamgrzybowski @shubham1206agra , waiting for their response. ![]() |
@Ollyws Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
📣 @thelullabyy 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.19-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-04-03. 🎊 For reference, here are some details about the assignees on this issue:
|
@Ollyws @MitchExpensify @Ollyws The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Do we agree 👍 or 👎 |
Payment summary
|
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:Test:
Do we agree 👍 or 👎 |
Requested in ND. |
Paid! All that remains is @Ollyws 's ND payment so closing |
$250 approved for @Ollyws |
Uh oh!
There was an error while loading. Please reload this page.
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: V9.1.4-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
Issue reported by: Applause Internal Team
Device used: Redmi note 10s android 13
App Component: Left Hand Navigation (LHN)
Action Performed:
Expected Result:
The bottom menu inbox/reports/settings must not flicker on tapping app's back button from overview/ members/ categories page.
Actual Result:
The bottom menu inbox/reports/settings flickers on tapping app's back button from overview/ members/ categories page.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6750624_1740198521104.Screenrecorder-2025-02-22-09-53-30-365.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @MitchExpensifyThe text was updated successfully, but these errors were encountered: