Skip to content

[Due for payment 2026-07-28] Room - Room members list doesn´t show a scrollbar when several members are present. #96263

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.35-1
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #95308
Email or phone of affected tester (no customers): ibellicotest+2766@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Windows 11 / Chrome
App Component: Other

Action Performed:

  1. Open the staging.new.expensify.com website.
  2. Open any private room conversation or create one if necessary.
  3. Click on header > "Members"
  4. Invite several members to the room. (At least 7)
  5. Note that after members are added to list, no scrollbar appears and members at the bottom are not accessible.

Expected Result:

A scrollbar should appear on members list after inviting several members.

Actual Result:

After inviting several members to a room conversation, a scrollbar is not visible and members at the bottom can´t be accessed without using a mouse to scroll down.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug7209625_1784188665067.Table_2.mp4

View all open jobs on GitHub

Applause Internal Information
Exported by: Mita Rachim
Bug ID: 7209625

Issue OwnerCurrent Issue Owner: @Krishna2323

Activity

  1. added
    DeployBlockerCash
    Bug
    on Jul 16, 2026
  2. applause-bot commented on Jul 16, 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/b69a7c7f8fe57e4a5061ffae4136ef08b5a5271a49dd41287f6546e5b6903eea

  3. melvin-bot commented on Jul 16, 2026

    @melvin-bot

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

  4. melvin-bot commented on Jul 16, 2026

    @melvin-bot

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

  5. github-actions commented on Jul 16, 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 Jul 16, 2026

    @MelvinBot
    Contributor

    Proposal

    Root Cause

    Regression from PR #95308, which migrated the Room Members page from SelectionListWithModal to the new shared Table component.

    RoomMembersTable is the only table that passes contentContainerStyle={styles.flexGrow1} into Table.Body — RoomMembersTable/index.tsx:104. Inside TableBody, flexGrow: 1 is meant to apply only when the list is empty (to center the empty state), but the caller's contentContainerStyle is merged in unconditionally right after — TableBody.tsx:106-114:

    contentContainerStyle={[
        filteredAndSortedData.length === 0 && styles.flexGrow1, // intended: empty state only
        ...
        contentContainerStyle, // <- RoomMembersTable forces flexGrow1 for ALL cases
    ]}

    On web, forcing flexGrow: 1 on the FlashList content wrapper pins it to the viewport height, so with 7+ members the overflow is clipped — the list can't scroll and no scrollbar appears. The sibling ReportParticipantsTable, migrated in the same PR, uses a plain <Table.Body /> and scrolls fine.

    Recommended Fix

    Remove the contentContainerStyle={styles.flexGrow1} prop at RoomMembersTable/index.tsx:104 so it becomes <Table.Body />, matching the working ReportParticipantsTable. TableBody already applies flexGrow1 correctly for the empty-state case on its own. (styles may become an unused import in that file afterward — clean it up.)

    Investigation details & evidence
    • Parent height chain is fine — DynamicRoomMembersPage wraps the table in ScreenWrapper[flex1] → View[w100, flex1], and the FlashList itself is style={[styles.flex1, styles.mnh0]}. Only the content-container flexGrow: 1 differs from working tables, so the parent container is ruled out.
    • Alternative considered: showsVerticalScrollIndicator={false} is set on the FlashList for all tables, so the literal scrollbar is hidden by design across every table — but that alone doesn't make rows unreachable. The reported "bottom members can't be accessed" symptom is specifically caused by flexGrow: 1 clamping content to the viewport and clipping overflow; removing it restores scroll.
    • Before/after: PR Update table styles for RHP tables #95308 replaced <SelectionListWithModal .../> (which self-managed its scroll container) with <RoomMembersTable .../> on DynamicRoomMembersPage.
    • If bottom padding was the original intent behind flexGrow1, use the safe-area bottom-padding pattern other tables use — not flexGrow1.

    Confidence: High — code evidence is definitive and both key lines were verified directly. Worth a quick manual web check with 7+ members after the change to confirm scroll works and empty-state centering is unaffected.


    Next Steps for Contributor+ team:
    To accept: @MelvinBot implement [this](https://github.com/Expensify/App/blob/b3411b9c1689475d367a06dd1b187e959bbfcbd3/src/components/Tables/RoomMembersTable/index.tsx#L104) to create a draft PR.
    To refine: @MelvinBot <your feedback>
    To reject: Explain why you are rejecting Melvin's proposal.

  7. MelvinBot commented on Jul 16, 2026

    @MelvinBot
    Contributor

    I already posted a full analysis of this deploy blocker here.

    tl;dr: Regression from PR #95308. RoomMembersTable is the only table passing contentContainerStyle={styles.flexGrow1} to Table.Body (RoomMembersTable/index.tsx:104). TableBody intends flexGrow: 1 only for the empty state, but the caller's prop is merged in unconditionally (TableBody.tsx:106-114), so on web the list content is clamped to the viewport and 7+ members can't be scrolled to. Fix: drop that prop so it becomes <Table.Body />, matching the working ReportParticipantsTable.

    See the linked comment for full evidence and next steps.

  8. added
    Reviewing
    on Jul 16, 2026
  9. Krishna2323 commented on Jul 16, 2026

    @Krishna2323
    Contributor

    PR is ready for review: #96289

    cc: @luacmartins @JS00001 @situchan

  10. melvin-bot commented on Jul 16, 2026

    @melvin-bot

    ⚠️ Looks like this issue was linked to a Deploy Blocker here

    If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

    If a regression has occurred and you are the assigned CM follow the instructions here.

    If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

  11. 1 remaining item

  12. situchan commented on Jul 16, 2026

    @situchan
    Contributor

    Is this even a bug?
    None of migrated tables has visible scrollbar on Windows.

  13. JS00001 commented on Jul 16, 2026

    @JS00001
    Contributor

    Agreed, the scrollbar isnt a bug

  14. IuliiaHerets commented on Jul 16, 2026

    @IuliiaHerets

    Issue is still reproducible on Windows 11/ Chrome in v9.4.35-5

    96263.mp4
  15. situchan commented on Jul 16, 2026

    @situchan
    Contributor

    It's expected. Scrollable by mouse/touchpad.

  16. removed
    DeployBlockerCash
    on Jul 16, 2026
  17. added
    Daily
    and removed
    Reviewing
    Hourly
    on Jul 21, 2026
  18. changed the title [-]Room - Room members list doesn´t show a scrollbar when several members are present.[/-] [+][Due for payment 2026-07-28] Room - Room members list doesn´t show a scrollbar when several members are present.[/+] on Jul 21, 2026
  19. melvin-bot commented on Jul 21, 2026

    @melvin-bot

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

  20. melvin-bot commented on Jul 21, 2026

    @melvin-bot

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

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

    • @Krishna2323 requires payment through NewDot Manual Requests
  21. melvin-bot commented on Jul 21, 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]

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

Metadata

Metadata

Labels

BugDailyEngineering

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions