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-01-29] [$250] Company card - The last card is covered by bottom navigation fully or partially #78379
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Version Number: v9.2.86-0 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from BrowserStack: Exploratory around https://github.com/Expensify/Expensify/issues/579524 - The user is blocked with an important flow Email or phone of affected tester (no customers):applausetester+ccardfeed@applause.expensifail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Critical User Impact Device used: Samsung s10/ Android 12 App Component: Workspace Settings
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
Please re-state the problem that we are trying to solve in this issue.
The last company card in the Company Cards list is partially covered online and fully covered offline, making it unselectable.
What is the root cause of that problem?
The issue is that the TableBody component (which uses FlashList to render the company cards list) doesn't have support for bottom safe area padding. When the offline indicator appears at the bottom of the screen, it overlaps the last item in the list.
How the Company Cards page is structured:
The WorkspaceCompanyCardsPage uses WorkspacePageWithSections which wraps the content:
What changes do you think we should make in order to solve the problem?
Add addBottomSafeAreaPadding and addOfflineIndicatorBottomSafeAreaPadding props to the TableBody component, following the same pattern used by ScrollView and SectionList.
typeTableBodyProps=ViewProps&{/** Optional custom styles for the FlashList content container. */contentContainerStyle?: StyleProp<ViewStyle>;/** * Whether to add bottom safe area padding to the content. */addBottomSafeAreaPadding?: boolean;/** * Whether to add additional padding for the offline indicator when offline. */addOfflineIndicatorBottomSafeAreaPadding?: boolean;};
Change 3 - Update function to use the hook:
functionTableBody<T>({contentContainerStyle, addBottomSafeAreaPadding, addOfflineIndicatorBottomSafeAreaPadding, ...props}: TableBodyProps){conststyles=useThemeStyles();const{translate}=useLocalize();const{processedData: filteredAndSortedData, originalDataLength, activeSearchString, activeFilters, filterConfig, listProps}=useTableContext<T>();const{ListEmptyComponent,contentContainerStyle: listContentContainerStyle, ...restListProps}=listProps??{};constbottomSafeAreaPaddingStyle=useBottomSafeSafeAreaPaddingStyle({addBottomSafeAreaPadding, addOfflineIndicatorBottomSafeAreaPadding});// ... rest of function
Change 4 - Apply padding to FlashList contentContainerStyle:
Please re-state the problem that we are trying to solve in this issue.
The last company card on the list is partially or fully covered by the bottom navigation bar, making it difficult or impossible to select. This happens both online and offline, but it's worse when offline.
What is the root cause of that problem?
When the table content is not wrapped in a ScrollView, the bottom safe area padding is not applied to create space above the navigation bar. The addBottomSafeAreaPadding prop is set to true in WorkspacePageWithSections, but this padding only works when shouldUseScrollView is true. When the content is rendered directly without a scroll wrapper, the safe area padding is ignored, leaving no gap between the last card and the navigation.
What changes do you think we should make in order to solve the problem?
Wrap the table content with a View that applies bottom safe area padding using the useBottomSafeSafeAreaPaddingStyle hook. This ensures that bottom padding is added regardless of whether the content is in a ScrollView or not.
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Company card - The last card is covered by bottom navigation fully or partially[/-][+][$250] Company card - The last card is covered by bottom navigation fully or partially[/+]on Dec 23, 2025
What changes do you think we should make in order to solve the problem?
We could pass shouldUseScrollView to WorkspacePageWithSections to resolve the current issue, but this would result in two nested ScrollViews. There have already been some issues reported related to scrolling problems caused by nested ScrollViews.
To avoid misunderstanding the use of addBottomSafeAreaPadding (thinking that bottom padding will be added due to this prop, while in reality it will not be added if used alone), we need to add a wrapper that provides bottom padding in the case where shouldUseScrollView === false:
Add a private component in WorkspacePageWithSections.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.6-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@shubham1206agra@jliexpensify 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]
[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.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Have a workspace where the company card feed is present with at least 10 cards present
Test:
Open the app
Go to Workspace > choose Company card
Go to Company cards
Scroll down to the bottom
Disable the internet connection
Verify that the last company card should be fully visible and selectable both online and offline.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Dec 23, 2025
Triggered auto assignment to @jliexpensify (
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.daledah commentedon Dec 23, 2025
🚨 Edited by proposal-police: This proposal was edited at 2026-01-02 09:11:41 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
The last company card is partially covered online and fully covered offline due to the lack of bottom margin, which makes the card unselectable.
What is the root cause of that problem?
The
Table.Bodycomponent (which usesFlashListinternally) lacked bottom padding to account for:Without padding, there was no space reserved for the indicator
What changes do you think we should make in order to solve the problem?
We should add
bottomSafeAreaPaddingStylefromuseBottomSafeSafeAreaPaddingStylehook for theWorkspaceCompanyCardsTablecomponentApp/src/pages/workspace/companyCards/WorkspaceCompanyCardsTable/index.tsx
Lines 312 to 315 in 634b5ce
What alternative solutions did you explore? (Optional)
Or we can add the props
shouldUseScrollViewas true hereApp/src/pages/workspace/companyCards/WorkspaceCompanyCardsPage.tsx
Lines 77 to 84 in 3fd1306
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
abbasifaizan70 commentedon Dec 23, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
The last company card in the Company Cards list is partially covered online and fully covered offline, making it unselectable.
What is the root cause of that problem?
The issue is that the
TableBodycomponent (which uses FlashList to render the company cards list) doesn't have support for bottom safe area padding. When the offline indicator appears at the bottom of the screen, it overlaps the last item in the list.How the Company Cards page is structured:
The
WorkspaceCompanyCardsPageusesWorkspacePageWithSectionswhich wraps the content:While
addBottomSafeAreaPaddingis passed toWorkspacePageWithSections, this prop is only applied whenshouldUseScrollViewistrue:Since
shouldUseScrollViewdefaults tofalse, the content (company cards table) is rendered directly without safe area padding.The TableBody component (
App/src/components/Table/TableBody.tsx) uses FlashList but doesn't have props for safe area padding:Comparison with other components:
Other scrollable components like
ScrollViewandSectionListsupport these padding props:What changes do you think we should make in order to solve the problem?
Add
addBottomSafeAreaPaddingandaddOfflineIndicatorBottomSafeAreaPaddingprops to theTableBodycomponent, following the same pattern used byScrollViewandSectionList.File 1:
App/src/components/Table/TableBody.tsxChange 1 - Add import for the hook:
Change 2 - Update TableBodyProps type:
Change 3 - Update function to use the hook:
Change 4 - Apply padding to FlashList contentContainerStyle:
File 2:
App/src/pages/workspace/companyCards/WorkspaceCompanyCardsTable/index.tsxChange - Pass the padding props to Table.Body:
What alternative solutions did you explore? (Optional)
None
samranahm commentedon Dec 23, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
The last company card on the list is partially or fully covered by the bottom navigation bar, making it difficult or impossible to select. This happens both online and offline, but it's worse when offline.
What is the root cause of that problem?
When the table content is not wrapped in a ScrollView, the bottom safe area padding is not applied to create space above the navigation bar. The
addBottomSafeAreaPaddingprop is set to true inWorkspacePageWithSections, but this padding only works whenshouldUseScrollViewis true. When the content is rendered directly without a scroll wrapper, the safe area padding is ignored, leaving no gap between the last card and the navigation.App/src/pages/workspace/companyCards/WorkspaceCompanyCardsPage.tsx
Lines 85 to 90 in 04f9a0f
What changes do you think we should make in order to solve the problem?
Wrap the table content with a View that applies bottom safe area padding using the
useBottomSafeSafeAreaPaddingStylehook. This ensures that bottom padding is added regardless of whether the content is in a ScrollView or not.What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
[-]Company card - The last card is covered by bottom navigation fully or partially[/-][+][$250] Company card - The last card is covered by bottom navigation fully or partially[/+]melvin-bot commentedon Dec 23, 2025
Job added to Upwork: https://www.upwork.com/jobs/~022003594977773517714
melvin-bot commentedon Dec 23, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra (
External)dmkt9 commentedon Dec 24, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
The last company card is partially covered online and fully covered offline due to the lack of bottom margin, which makes the card unselectable.
What is the root cause of that problem?
In
WorkspaceCompanyCardsPage,WorkspacePageWithSectionsusesaddBottomSafeAreaPaddingbut does not useshouldUseScrollView.App/src/pages/workspace/companyCards/WorkspaceCompanyCardsPage.tsx
Lines 77 to 90 in 589574c
Therefore,
addBottomSafeAreaPaddingwill have no effect, and the bottom padding will not be added.App/src/pages/workspace/WorkspacePageWithSections.tsx
Lines 232 to 242 in 589574c
What changes do you think we should make in order to solve the problem?
shouldUseScrollViewtoWorkspacePageWithSectionsto resolve the current issue, but this would result in two nestedScrollViews. There have already been some issues reported related to scrolling problems caused by nestedScrollViews.addBottomSafeAreaPadding(thinking that bottom padding will be added due to this prop, while in reality it will not be added if used alone), we need to add a wrapper that provides bottom padding in the case whereshouldUseScrollView === false:WorkspacePageWithSections.App/src/pages/workspace/WorkspacePageWithSections.tsx
Line 96 in 589574c
ContentWithBottomSafeAreaPadding.App/src/pages/workspace/WorkspacePageWithSections.tsx
Line 241 in 589574c
What alternative solutions did you explore? (Optional)
N/A
41 remaining items
melvin-bot commentedon Jan 22, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jan 22, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.6-4 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 2026-01-29. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jan 22, 2026
@shubham1206agra @jliexpensify 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]
jliexpensify commentedon Jan 27, 2026
Bump @shubham1206agra for the checklist please
shubham1206agra commentedon Jan 27, 2026
BugZero Checklist:
[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.
Link to comment: https://github.com/Expensify/App/pull/48176/changes#r2731805034
[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.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
jliexpensify commentedon Jan 27, 2026
Payment Summary
https://www.upwork.com/jobs/~022003594977773517714
jliexpensify commentedon Jan 30, 2026
Paid, job closed!
garrettmknight commentedon Apr 2, 2026
$250 approved for @shubham1206agra