You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-07-03] Android & iOS - Rules - Offline indicator appears below the content in Add rule page #94473
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.
Launch Expensify app.
Go to workspace settings > Rules.
Tap Add rule.
Go offline.
Expected Result:
Offline indicator will appear at the bottom of the page.
👋 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:
Identify the pull request that introduced this issue and revert it.
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>.
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.
@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]
Activity
applause-bot commentedon Jun 24, 2026
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
melvin-bot commentedon Jun 24, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #93185
melvin-bot commentedon Jun 24, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Jun 24, 2026
👋 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:
MelvinBot commentedon Jun 24, 2026
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?
ScreenWrapperrenders the offline indicator as a flex sibling after the page's children inside aflex: 1column container (ScreenWrapper/index.tsx:311-313). The indicator only sticks to the bottom (position: absolute; bottom: 0) whenshouldSmallScreenOfflineIndicatorStickToBottomis true, which defaults toisUsingEdgeToEdgeMode(index.tsx:135) — i.e. it requires theenableEdgeToEdgeBottomSafeAreaPaddingprop.RulesNewPageneither passesenableEdgeToEdgeBottomSafeAreaPaddingnor wraps its content in aflex: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: addenableEdgeToEdgeBottomSafeAreaPaddingto the<ScreenWrapper>soshouldSmallScreenOfflineIndicatorStickToBottombecomes 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 atScreenWrapperOfflineIndicators.tsx:95.flexGrow1wrapper only (no edge-to-edge): wrapping content in aflex:1/flexGrow:1container also pushes the indicator down without changing safe-area handling. This is the most minimal visual change, but most current workspace pages useenableEdgeToEdgeBottomSafeAreaPadding, so matchingRulesRequireFieldsPageis more consistent.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.
luacmartins commentedon Jun 24, 2026
Feature is behind a beta, NAB.
12 remaining items
melvin-bot commentedon Jun 26, 2026
@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]
melvin-bot commentedon Jun 29, 2026
@Krishna2323 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
melvin-bot commentedon Jul 1, 2026
@Krishna2323 Huh... This is 4 days overdue. Who can take care of this?
melvin-bot commentedon Jul 2, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)melvin-bot commentedon Jul 2, 2026
Payment Summary
Upwork Job
BugZero Checklist (@mallenexpensify)
mallenexpensify commentedon Jul 6, 2026
Guessing this is project-paid and not due payment. Will wait a min this close. comment if needed.
Krishna2323 commentedon Jul 6, 2026
Yes, this can be closed.