Skip to content

[Due for payment 2025-08-07] [$250] Multiple backdrops appear for some modals opened from within modals #66132

Closed

Description

@mhawryluk

Reproducible in staging?: Yes
Reproducible in production?: Yes
Slack conversation (hyperlinked to channel name): https://swmansion.slack.com/archives/C05LX9D6E07/p1752493578778789?thread_ts=1751910765.756109&cid=C05LX9D6E07

Action Performed:

  1. Create new expense
  2. Next
  3. Date
  4. Click on Year on the calendar

also:

  1. Reports
  2. Reports
  3. Click on a report
  4. Date
  5. Year (2025)

also:

  1. Go to /enable-payments
  2. State

also:

  1. Open chat
  2. Click the chat name
  3. Click the avatar
  4. Click "Upload photo"
  5. Select image

Expected Result:

Modal appears without adding additional visible backdrop on top of the one already there. (Clicking outside the modal should invoke the action set for the new modal's backdrop though).

Actual Result:

Modal appears and adds an additional visible backdrop on top of the one already there, so the backdrop looks less transparent. (Clicking on the backdrop does invoke the action set for the new modal, so this works fine).

Workaround:

Just a visual issue, no workaround necessary.

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
462356829-256d4d46-f6a7-497f-a239-f2238d819cb0.mov
2Nagranie.z.ekranu.2025-07-15.o.09.21.41.mov

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021945057002581689414
  • Upwork Job ID: 1945057002581689414
  • Last Price Increase: 2025-07-15
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @abekkala

Activity

  1. added
    Daily
    Bug
    on Jul 15, 2025
  2. melvin-bot commented on Jul 15, 2025

    @melvin-bot

    Triggered auto assignment to @abekkala (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. drminh2807 commented on Jul 15, 2025

    @drminh2807
    Contributor

    Proposal

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

    Multiple backdrops appear for some modals opened from within modals

    What is the root cause of that problem?

    We set backdrop opacity here

    backdropOpacity={!shouldUseCustomBackdrop && hideBackdrop ? 0 : variables.overlayOpacity}

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

    We shoudn't set backdrop if isInNarrowPane

          backdropOpacity={(!shouldUseCustomBackdrop && hideBackdrop) || isInNarrowPane ? 0 : variables.overlayOpacity}

    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)

    N/A

  4. ZhenjaHorbach commented on Jul 15, 2025

    @ZhenjaHorbach
    Contributor

    @drminh2807

    Sorry
    But @mhawryluk will work on this issue

  5. added
    External
    on Jul 15, 2025
  6. changed the title [-]Multiple backdrops appear for some modals opened from within modals[/-] [+][$250] Multiple backdrops appear for some modals opened from within modals[/+] on Jul 15, 2025
  7. melvin-bot commented on Jul 15, 2025

    @melvin-bot
  8. added
    Help Wanted
    on Jul 15, 2025
  9. melvin-bot commented on Jul 15, 2025

    @melvin-bot

    Current assignee @ZhenjaHorbach is eligible for the External assigner, not assigning anyone new.

  10. removed
    Help Wanted
    on Jul 15, 2025
  11. 8 remaining items

  12. changed the title [-][$250] Multiple backdrops appear for some modals opened from within modals[/-] [+][Due for payment 2025-08-07] [$250] Multiple backdrops appear for some modals opened from within modals[/+] on Jul 31, 2025
  13. melvin-bot commented on Jul 31, 2025

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  14. removed
    Reviewing
    on Jul 31, 2025
  15. melvin-bot commented on Jul 31, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.87-14 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-08-07. 🎊

    For reference, here are some details about the assignees on this issue:

  16. melvin-bot commented on Jul 31, 2025

    @melvin-bot

    @ZhenjaHorbach @abekkala 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]

  17. abekkala commented on Jul 31, 2025

    @abekkala
    Contributor

    PAYMENT SUMMARY FOR AUG 07

    • Fix: @mhawryluk - no payment required
    • PR Review: @ZhenjaHorbach [$250, if no regressions] payment via NewDot
      please complete checklist
  18. added
    Daily
    and removed
    Weekly
    on Aug 6, 2025
  19. abekkala commented on Aug 7, 2025

    @abekkala
    Contributor

    @ZhenjaHorbach can you please complete the checklist so we can pay this one out and close?
    Thanks!

  20. ZhenjaHorbach commented on Aug 7, 2025

    @ZhenjaHorbach
    Contributor

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
    • 2b. Reported on staging (eg. found during regression or PR testing)
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other:
    • [Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

      I think this is not a bug and a part of the migration to reanimated modals project

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.

      Link to discussion: NA

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

    I'm not sure that tests are needed here since these are UI changes only
    But ...

    Regression Test Proposal

    Test:

    1. Create new expense
    2. Press Next => Date
    3. Click on Year on the calendar

    Or

    1. Open Reports
    2. Click on a report
    3. Press Date => Year (2025)

    Or

    1. Go to /enable-payments
    2. Open State

    Or

    1. Open chat
    2. Click the chat name
    3. Click the avatar
    4. Click "Upload photo"
    5. Select image

    Verify that modal appears without adding additional visible backdrop on top of the one already there

    Do we agree 👍 or 👎

  21. melvin-bot commented on Aug 7, 2025

    @melvin-bot

    Payment Summary

    Upwork Job

    • Reviewer: @ZhenjaHorbach owed $250 via NewDot
    • Contributor: @mhawryluk is from an agency-contributor and not due payment

    BugZero Checklist (@abekkala)

    • I have verified the correct assignees and roles are listed above and updated the necessary manual offers
    • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1945057002581689414/hired)
    • I have verified the PR was not reverted
    • I have applied any discounts due to bugs/regressions introduced by this PR
    • I have paid out the Upwork contracts or cancelled the ones that are incorrect
    • I have verified the payment summary above is correct
  22. abekkala commented on Aug 8, 2025

    @abekkala
    Contributor

    posting summary once more for better visibilty:

    PAYMENT SUMMARY FOR AUG 07

  23. ZhenjaHorbach commented on Aug 8, 2025

    @ZhenjaHorbach
    Contributor

    Requested in ND

  24. isabelastisser commented on Aug 8, 2025

    @isabelastisser
    Contributor

    $250 approved in ND.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions