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-10-21] Android - Search field is partially visible when entering search term when scrolled down #99373
Version Number: 9.4.60-0 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from BrowserStack:#93877 Email or phone of affected tester (no customers):sdsiodjnosdjiodsj@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Samsung Galaxy S25 FE / Android 16 App Component: Workspace Settings
Action Performed:
Launch Expensify app.
Go to workspace settings > Categories.
Tap on the search field.
Scroll down the list.
Enter anything that will return search results.
Expected Result:
Search field will be completely visible when entering search term when scrolled down.
Actual Result:
Search field is partially visible when entering search term when scrolled down.
👋 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.
Classification: Frontend bug (fix belongs in Expensify/App) Causing PR: #93877 - "Update table pages to scroll full page" by KJ21-ENG (High confidence) Related Issues: none
Recommendation: ROLL FORWARD (targeted fix — do not revert)
#93877 is a large, foundational refactor (75 files) that migrated ~20 workspace/table pages to a single scrolling FlashList with a sticky column header and a new native "scroll the search input above the keyboard" behavior. Reverting would be highly disruptive and would reintroduce everything it fixed, so the right move is a targeted fix to the scroll-into-view math rather than a revert.
Assigned: KJ21-ENG (PR author), JS00001 (approver / merger), Krishna2323 (approver) — from the single highest-confidence causing PR (#93877) Labels: No changes. DeployBlockerCash is correctly retained (Frontend bug, App deploy blocked). No DeployBlocker was present. Not reproducible in production, so the App blocker must stay regardless.
📋 Detailed Analysis
Evidence
Timeline matches:Update table pages to scroll full page #93877 merged 2026-08-24 18:13 UTC into staging 9.4.60-0; this bug was reported the same day (22:51 UTC) on 9.4.60-0, is reproducible in staging, and is not reproducible in production — i.e. introduced in this exact release. Update table pages to scroll full page #93877 is listed in the current StagingDeployCash.
Scope matches: The PR's own description says it migrates Categories (and all workspace tables) so "page-level controls (header content, buttons, search/filter bar) render inside the table's FlashList and scroll away with the rows, while the table column header is rendered as a sticky list item." It also explicitly adds: "on native, focusing the table search bar now scrolls it above the keyboard (using the existing useScrollToFocusedInput pattern), so the input stays visible while typing." That newly-added behavior is exactly the flow that is misbehaving.
Platform matches: The symptom is Android App only. The offending scroll behavior lives in a .native.ts file (useScrollToFocusedInput/index.native.ts) that only runs on native, consistent with the platform scoping of the report. PR test step 7 covers exactly this ("tap the search bar … verify the list scrolls the search input above the keyboard and it stays fully visible while typing").
Verification
Affected feature = the search field on the Workspace > Categories list (a migrated table page).
git log on src/components/Table/TableFilterBar/TableSearchBar.tsx shows the file was introduced/rewritten as part of the table migration, and the search input's onFocus now calls the new scroll helper.
src/components/Table/TableBody.tsx (+354/-36) — wires useScrollToFocusedInput into the list
plus src/components/Tables/WorkspaceCategoriesTable/index.tsx and src/pages/workspace/categories/WorkspaceCategoriesPage.tsx
The useScrollToFocusedInput native hook (import useScrollToFocusedInput from '@components/SelectionList/hooks/useScrollToFocusedInput') is newly consumed by TableBody in this PR.
Root Cause
The search input's onFocus handler now triggers a scroll-into-view routine added by this PR:
onFocus={()=>{setInputFocused(true);// Keep the input visible above the keyboard when it is focused inside the scrolling table list.scrollInputIntoView(inputRef.current);}}
container.measureInWindow((containerX,containerY)=>{input.measureInWindow((inputX,inputY)=>{consttarget=containerY+EXTRA_SCROLL_PADDING;// anchors to the list container TOPconstdelta=inputY-target;if(delta<=0){// only scrolls when input is BELOW the anchorreturn;}list.scrollToOffset({offset: scrollOffsetRef.current+delta,animated: true});});});
The routine anchors the focused input to the top of the list container (containerY + EXTRA_SCROLL_PADDING) and only scrolls when the input is below that anchor (delta > 0). When the list is scrolled down and the search bar is scrolled inside the FlashList, the sticky column header (also introduced by this PR) occupies the top of the container. The anchor calculation does not subtract the sticky header's height, so the input is pulled up to a position that is partially occluded by the sticky header — producing the reported "search field is only partially visible when entering a search term while scrolled down." The delta <= 0 early-return also means an input already near the top (but partly hidden under the sticky header) is never nudged fully into view.
Suggested targeted fix (for the assignees)
Offset the scroll anchor by the sticky table-header height (and/or measure against the true visible viewport top rather than the growing container top) so the focused search input lands fully below the sticky header instead of behind it. This is contained to useScrollToFocusedInput/index.native.ts and does not require touching the broader table migration.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
changed the title [-]Android - Search field is partially visible when entering search term when scrolled down[/-][+][Due for payment 2026-10-21] Android - Search field is partially visible when entering search term when scrolled down[/+]on Oct 14, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.5.8-5 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-10-21. 🎊
The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ 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 Aug 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/cea64a57dd7b8bc1e0bb68f0ce29185f1ae1fefe52ccaef5261ca75aa80bade5
melvin-bot commentedon Aug 24, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #93877
melvin-bot commentedon Aug 24, 2026
@Krishna2323 @JS00001 you have been assigned to this deploy blocker because you reviewed the offending PR: #93877
melvin-bot commentedon Aug 24, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Aug 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 Aug 24, 2026
🔍 Investigation Summary
Classification: Frontend bug (fix belongs in
Expensify/App)Causing PR: #93877 - "Update table pages to scroll full page" by
KJ21-ENG(High confidence)Related Issues: none
Recommendation: ROLL FORWARD (targeted fix — do not revert)
#93877 is a large, foundational refactor (75 files) that migrated ~20 workspace/table pages to a single scrolling
FlashListwith a sticky column header and a new native "scroll the search input above the keyboard" behavior. Reverting would be highly disruptive and would reintroduce everything it fixed, so the right move is a targeted fix to the scroll-into-view math rather than a revert.Assigned:
KJ21-ENG(PR author),JS00001(approver / merger),Krishna2323(approver) — from the single highest-confidence causing PR (#93877)Labels: No changes.
DeployBlockerCashis correctly retained (Frontend bug, App deploy blocked). NoDeployBlockerwas present. Not reproducible in production, so the App blocker must stay regardless.📋 Detailed Analysis
Evidence
9.4.60-0; this bug was reported the same day (22:51 UTC) on9.4.60-0, is reproducible in staging, and is not reproducible in production — i.e. introduced in this exact release. Update table pages to scroll full page #93877 is listed in the currentStagingDeployCash.FlashListand scroll away with the rows, while the table column header is rendered as a sticky list item." It also explicitly adds: "on native, focusing the table search bar now scrolls it above the keyboard (using the existinguseScrollToFocusedInputpattern), so the input stays visible while typing." That newly-added behavior is exactly the flow that is misbehaving..native.tsfile (useScrollToFocusedInput/index.native.ts) that only runs on native, consistent with the platform scoping of the report. PR test step 7 covers exactly this ("tap the search bar … verify the list scrolls the search input above the keyboard and it stays fully visible while typing").Verification
git logonsrc/components/Table/TableFilterBar/TableSearchBar.tsxshows the file was introduced/rewritten as part of the table migration, and the search input'sonFocusnow calls the new scroll helper.src/components/Table/TableFilterBar/TableSearchBar.tsx(+35/-4)src/components/Table/TableBody.tsx(+354/-36) — wiresuseScrollToFocusedInputinto the listsrc/components/Tables/WorkspaceCategoriesTable/index.tsxandsrc/pages/workspace/categories/WorkspaceCategoriesPage.tsxuseScrollToFocusedInputnative hook (import useScrollToFocusedInput from '@components/SelectionList/hooks/useScrollToFocusedInput') is newly consumed byTableBodyin this PR.Root Cause
The search input's
onFocushandler now triggers a scroll-into-view routine added by this PR:src/components/Table/TableFilterBar/TableSearchBar.tsx(staging tip):L111-L115
src/components/SelectionList/hooks/useScrollToFocusedInput/index.native.ts:L58-L113
The routine anchors the focused input to the top of the list container (
containerY + EXTRA_SCROLL_PADDING) and only scrolls when the input is below that anchor (delta > 0). When the list is scrolled down and the search bar is scrolled inside theFlashList, the sticky column header (also introduced by this PR) occupies the top of the container. The anchor calculation does not subtract the sticky header's height, so the input is pulled up to a position that is partially occluded by the sticky header — producing the reported "search field is only partially visible when entering a search term while scrolled down." Thedelta <= 0early-return also means an input already near the top (but partly hidden under the sticky header) is never nudged fully into view.Suggested targeted fix (for the assignees)
Offset the scroll anchor by the sticky table-header height (and/or measure against the true visible viewport top rather than the growing container top) so the focused search input lands fully below the sticky header instead of behind it. This is contained to
useScrollToFocusedInput/index.native.tsand does not require touching the broader table migration.view run
JS00001 commentedon Aug 25, 2026
@KJ21-ENG I'll demote this, but lets fix in a follow up
7 remaining items
JS00001 commentedon Sep 3, 2026
In review
melvin-bot commentedon Sep 17, 2026
This issue has not been updated in over 15 days. @JS00001, @Krishna2323, @KJ21-ENG eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
[-]Android - Search field is partially visible when entering search term when scrolled down[/-][+][Due for payment 2026-10-21] Android - Search field is partially visible when entering search term when scrolled down[/+]melvin-bot commentedon Oct 14, 2026
@Krishna2323
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.5.8-5 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-10-21. 🎊
The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ 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]
Krishna2323 commentedon Oct 14, 2026
PR is on prod, this was a follow-up so we can close without payments.