Skip to content

Web - Central pane retains wide-layout styles when narrowed by docked side panel or LHN #106497

Open

Description

@MelvinBot

Summary

The central pane retains wide-layout styles when its available width becomes narrow because of the docked Concierge side panel or the left-hand navigation (LHN).

Follow-up to Resizable side panel — Basic drag logic, requested in this comment. This is reported to already occur in production near the 1300px docking breakpoint; the resizable side panel makes it easier to reproduce. It is not a new regression introduced by that PR.

Issue reported by: Krishna2323
Version Number: Not provided
Reproducible in staging?: Not independently verified
Reproducible in production?: Yes, per the production report; not independently verified here.

Action Performed

  1. On desktop web, open an expense report containing a potential-duplicate banner and a report table, with the LHN visible.
  2. Open the docked Concierge side panel.
  3. Narrow the browser window toward the approximately 1300px docking breakpoint, or use the resizable side panel to leave the central pane approximately 400px wide while the overall window remains in its wide layout.
  4. Observe the duplicate banner and report table.
  5. Widen the central pane again to check the transition back to wide styles.

Expected Result

The central pane should switch to narrow (mobile) styles based on its actual available width once it becomes narrow enough, and return to wide styles when space is available. Transitions should be smooth, without flicker or layout oscillation. The duplicate banner should remain readable and the report content usable.

Design confirmed the narrow-layout behavior, provided the transition is smooth.

Actual Result

The central pane continues using wide-layout styles even at approximately 400px. The duplicate banner wraps roughly one word per line, and report table columns are cut off.

Technical Context

src/hooks/useResponsiveLayout/index.ts:73 computes shouldUseNarrowLayout from isSmallScreenWidth || isInNarrowPaneModal, rather than the central pane's actual width. Investigate pane-width-aware responsive behavior, including space consumed by the docked side panel and LHN. This follow-up is separate from enforcing the central pane's minimum width in the resizable-side-panel PR.

Acceptance Criteria

  • Narrow central panes use appropriate narrow/mobile styles even when the browser window is wide.
  • Duplicate banners remain readable and report content adapts rather than being cut off by wide-layout styling.
  • Resizing the window or side panel, and opening/closing the side panel or LHN, update the layout smoothly in both directions.
  • Existing full-width and RHP responsive behavior is preserved.

Workaround

Not independently verified; widening the central pane or closing the docked side panel may avoid the cramped layout.

Platforms

Reported on desktop web; specific OS/browser not provided. No independent runtime testing performed for this issue creation.

Screenshot

Narrow central pane retaining wide-layout styles, with a wrapping duplicate banner and clipped report table

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Nov 10, 2026
  2. cocvn157 commented on Nov 15, 2026

    @cocvn157
  3. JS00001 commented on Nov 16, 2026

    @JS00001
    Contributor

    @war-in are you able to work on this one?

  4. war-in commented on Nov 16, 2026

    @war-in
    Contributor

    @JS00001 yes, it's on my list 🫡 I'll pick it up once higher-prio ones are handled

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions