Skip to content
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] Upon returning from the Referral Section, a black page appears and modals are floating #35969

Closed
1 of 6 tasks
m-natarajan opened this issue Feb 6, 2024 · 12 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@m-natarajan
Copy link

m-natarajan commented Feb 6, 2024

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.4.37-1
Reproducible in staging?: y
Reproducible in production?: y
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:

Action Performed:

1, Profile
2, Share code
3, Click on "Get $250," then the referral section opens. Click on the back icon from the referral section.

Expected Result:

When we navigate back from the referral section, it should redirect back to the share code section.

Actual Result:

Upon returning from the referral section, a black page appears and modals are floating.

Workaround:

unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6369848_1707254493723.Screen_Recording_2024-02-06_at_11.47.45_AM.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0151c67071986a4446
  • Upwork Job ID: 1754984369541861376
  • Last Price Increase: 2024-02-06
@m-natarajan m-natarajan added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 6, 2024
@melvin-bot melvin-bot bot changed the title Upon returning from the Referral Section, a black page appears and modals are floating [$500] Upon returning from the Referral Section, a black page appears and modals are floating Feb 6, 2024
Copy link

melvin-bot bot commented Feb 6, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0151c67071986a4446

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 6, 2024
Copy link

melvin-bot bot commented Feb 6, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif (External)

Copy link

melvin-bot bot commented Feb 6, 2024

Triggered auto assignment to @kevinksullivan (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@abzokhattab
Copy link
Contributor

abzokhattab commented Feb 6, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Upon returning from the Referral Section, a black page appears and modals are floating

What is the root cause of that problem?

the referral details component calls theHeaderPageLayout which calls the HeaderWithBackButton component and passes the props to it, so the referral page we don't pass a onBackButtonPressprop to the header page layout, thats why the default back behavior is executed which goes back to the home page

What changes do you think we should make in order to solve the problem?

we need to add onBackButtonPress={Navigation.goBack}

OR we can modify the HeaderWithBackButton itself to onBackButtonPress = () => Navigation.goBack()

@allgandalf
Copy link
Contributor

I guess this is been handled under one issue: #35626

@aimane-chnaif
Copy link
Contributor

I don't see the need of waiting for #35626 (seems like taking a while to fix) while the behavior is weird which requires urgent fix and the solution is straightforward.

@allgandalf
Copy link
Contributor

In that case, i would be available to provide a quick fix to the issue :) @aimane-chnaif , we just need to add the onBackButtonPress={Navigation.goBack} prop and we’re good to go

@aimane-chnaif
Copy link
Contributor

@abzokhattab proposed first.
Let's get engineer's thoughts whether to fix or hold.

🎀 👀 🎀 C+ reviewed

Copy link

melvin-bot bot commented Feb 7, 2024

Triggered auto assignment to @techievivek, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@trjExpensify
Copy link
Contributor

@adamgrzybowski is going to sense check whether his solution on the main issue addressing goBack bugs will fix this. Let's hold on making a PR until then!

@adamgrzybowski
Copy link
Contributor

@trjExpensify Should be fixed by #36050

@hayata-suenaga
Copy link
Contributor

The issue is tracked in this GH issue. Closing this in favor of that one 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

9 participants