Skip to content

[$500] Upon returning from the Referral Section, a black page appears and modals are floating #35969

Closed

Description

@m-natarajan

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

Activity

  1. added
    External
    Daily
    Bug
    on Feb 6, 2024
  2. 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[/+] on Feb 6, 2024
  3. melvin-bot commented on Feb 6, 2024

    @melvin-bot
  4. added
    Help Wanted
    on Feb 6, 2024
  5. melvin-bot commented on Feb 6, 2024

    @melvin-bot

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

  6. melvin-bot commented on Feb 6, 2024

    @melvin-bot

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

  7. abzokhattab commented on Feb 6, 2024

    @abzokhattab
    Contributor

    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()

  8. allgandalf commented on Feb 6, 2024

    @allgandalf
    Contributor

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

  9. aimane-chnaif commented on Feb 7, 2024

    @aimane-chnaif
    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.

  10. allgandalf commented on Feb 7, 2024

    @allgandalf
    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

  11. aimane-chnaif commented on Feb 7, 2024

    @aimane-chnaif
    Contributor

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

    🎀 👀 🎀 C+ reviewed

  12. melvin-bot commented on Feb 7, 2024

    @melvin-bot

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

  13. trjExpensify commented on Feb 7, 2024

    @trjExpensify
    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!

  14. adamgrzybowski commented on Feb 7, 2024

    @adamgrzybowski
    Contributor

    @trjExpensify Should be fixed by #36050

  15. hayata-suenaga commented on Feb 7, 2024

    @hayata-suenaga
    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

Metadata

Metadata

Labels

BugDailyExternalHelp Wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions