Skip to content

[Due for payment 2026-07-03] Android & iOS - Rules - Offline indicator appears below the content in Add rule page #94473

Closed

Description

@applause-bot

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: 9.4.18-0
Reproducible in staging?: Yes
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #93185
Email or phone of affected tester (no customers): sdjnoisdjdosijsonssjo@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: iPhone 15 Pro Max / iOS 26.5
App Component: Workspace Settings

Action Performed:

Precondition:

  • Enable Rules.
  1. Launch Expensify app.
  2. Go to workspace settings > Rules.
  3. Tap Add rule.
  4. Go offline.

Expected Result:

Offline indicator will appear at the bottom of the page.

Actual Result:

Offline indicator appears below the content.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome Safari

Screenshots/Videos

Image

View all open jobs on GitHub

Applause Internal Information
Exported by: Julia Ponikarchuk
Bug ID: 7189691

Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

  1. applause-bot commented on Jun 24, 2026

    @applause-bot
    Author

    While Applause doesn't embed attachments for this bug, here are the links for quick view:
    https://platform.applause.com/services/links/v1/external/cfef2e218f063bead2c215aab42a9447a8f8cb7248eda3bfcb2f343adda523c7

  2. added
    DeployBlockerCash
    Bug
    on Jun 24, 2026
  3. melvin-bot commented on Jun 24, 2026

    @melvin-bot

    You have been assigned to this deploy blocker because you recently merged this PR: #93185

  4. melvin-bot commented on Jun 24, 2026

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  5. github-actions commented on Jun 24, 2026

    @github-actions
    Contributor

    👋 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:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  6. MelvinBot commented on Jun 24, 2026

    @MelvinBot
    Contributor

    Proposal

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

    On the Add rule page (RulesNewPage, new in #93185), going offline shows the offline indicator directly below the menu items (mid-screen) instead of pinned to the bottom of the page.

    What is the root cause of that problem?

    ScreenWrapper renders the offline indicator as a flex sibling after the page's children inside a flex: 1 column container (ScreenWrapper/index.tsx:311-313). The indicator only sticks to the bottom (position: absolute; bottom: 0) when shouldSmallScreenOfflineIndicatorStickToBottom is true, which defaults to isUsingEdgeToEdgeMode (index.tsx:135) — i.e. it requires the enableEdgeToEdgeBottomSafeAreaPadding prop.

    RulesNewPage neither passes enableEdgeToEdgeBottomSafeAreaPadding nor wraps its content in a flex:1/ScrollView (RulesNewPage.tsx:39-68). With no flex-growing content above it and stick-to-bottom disabled, the indicator flows inline right under the natural-height content.

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

    Match the pattern already used by the sibling page RulesRequireFieldsPage.tsx:98,106-108: add enableEdgeToEdgeBottomSafeAreaPadding to the <ScreenWrapper> so shouldSmallScreenOfflineIndicatorStickToBottom becomes true and the indicator is pinned to the bottom.

    For robustness (so the indicator stays at the bottom regardless of content height), also wrap the body in a <ScrollView style={[styles.flexGrow1]} addBottomSafeAreaPadding> instead of the bare <View>.

    Evidence & alternatives considered
    • styles.stickToBottom = position: absolute; bottom: 0; left/right: 0 (styles/index.ts:5868), applied conditionally at ScreenWrapperOfflineIndicators.tsx:95.
    • Alternative — flexGrow1 wrapper only (no edge-to-edge): wrapping content in a flex:1/flexGrow:1 container also pushes the indicator down without changing safe-area handling. This is the most minimal visual change, but most current workspace pages use enableEdgeToEdgeBottomSafeAreaPadding, so matching RulesRequireFieldsPage is more consistent.
    • This is a pure flex-layout issue; no production logs needed. Confidence: high.

    Next Steps for Contributor+ team:
    To accept: @MelvinBot implement [this](https://github.com/Expensify/App/issues/94473) to create a draft PR.
    To refine: @MelvinBot <your feedback>
    To reject: Explain why you are rejecting Melvin's proposal.

  7. luacmartins commented on Jun 24, 2026

    @luacmartins
    Contributor

    Feature is behind a beta, NAB.

  8. removed
    DeployBlockerCash
    on Jun 24, 2026
  9. 12 remaining items

  10. melvin-bot commented on Jun 26, 2026

    @melvin-bot

    @Krishna2323 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]. If no checklist is needed for this issue, you can click: [no checklist button]

  11. melvin-bot commented on Jun 29, 2026

    @melvin-bot

    @Krishna2323 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  12. melvin-bot commented on Jul 1, 2026

    @melvin-bot

    @Krishna2323 Huh... This is 4 days overdue. Who can take care of this?

  13. added
    Awaiting Payment
    on Jul 2, 2026
  14. melvin-bot commented on Jul 2, 2026

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (Awaiting Payment)

  15. melvin-bot commented on Jul 2, 2026

    @melvin-bot

    Payment Summary

    Upwork Job

    BugZero Checklist (@mallenexpensify)

    • 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//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
  16. mallenexpensify commented on Jul 6, 2026

    @mallenexpensify
    Contributor

    Guessing this is project-paid and not due payment. Will wait a min this close. comment if needed.

  17. Krishna2323 commented on Jul 6, 2026

    @Krishna2323
    Contributor

    Guessing this is project-paid and not due payment. Will wait a min this close. comment if needed.

    Yes, this can be closed.

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineering

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions