Skip to content

Impersonation banner adds its height to a full-height shell: list footers and bulk action bars fall below the viewport #37528

Description

@objectstack-fleet

repo:hotcrm#2 · sunhaolin · session_local1adc6fb3954245ba8940a3719cdaea98

Filing gate: ① product defect with a reproduction. Source: fleet (found in a maintainer-ordered local UI test pass of the HotCRM app on 2026-11-26; filed through the pm-dispatch relay on the maintainer's instruction).
Grading: area:ux · Bug · p2 (triage grades) · severity: Impeded · reach: every administrator while impersonating, on every full-height page · evidence: measured on the released 18.6.0 packages (2026-11-18), zh-CN console; not re-measured on main

维护者速读

  • 做什么:模拟用户时顶部横幅要算进页面高度,不能把整页往下挤出屏幕。
  • 谁受益:用「模拟用户」排查权限问题的管理员。
  • 不做会怎样:模拟期间列表底部的批量操作栏和记录数被挤到屏幕外,整页多出一条滚动条。
  • 需要你做的:无,分诊定级即可。

What

While an impersonation is active the console shows a banner above the shell. The shell below it still takes the full viewport height, so the document becomes taller than the window by the banner's height.

Measured: window.innerHeight 768, document scrollHeight 821. On a list view the bulk action bar and the record-count footer sit below the fold, and the page gains a second, outer scrollbar.

Reproduction

  1. As an administrator, start impersonating any user from the users list.
  2. Open any list view and tick a row.
  3. Result: the bulk action bar and the footer are not visible until the whole page is scrolled; without impersonation the same page fits the viewport exactly.

Acceptance

  • With the banner shown, the document's scrollHeight equals innerHeight on full-height pages; the shell takes the viewport height minus the banner.
  • List footers, bulk action bars and sticky dialog footers stay visible during an impersonation.
  • Holds on the mobile layout.

Dedupe (open and closed): impersonation banner, impersonation banner height 0 hits about layout.
Batch-of: local UI deep test pass 2026-11-26, 14 cards (5 in hotcrm, 9 in objectstack).
Blocked-by: none.

Activity

  1. added
    bug
    priority:p2
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Bug · priority:p2 · pm:queue · size S; rationale: the impersonation banner adds its height to the full-height shell, so list footers and bulk action bars fall below the viewport while an admin impersonates. Found in the maintainer-ordered HotCRM UI test pass of 2026-11-26 on the released 18.6.0 packages. p2 as filed.

  3. added
    domain:ui
    pm:queue
    on Nov 26, 2026
  4. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Claim: PM loop round 1 · 2026-11-26T13:40Z
    Session: session_01L6bhgV6i8jfWwSXjpWJrjA
    Thread session: session_01L6bhgUuauSMJu1nVSQRQri
    Account: os-sales
    Branch: claude/project-thread-th9squ (the area thread's platform branch, reset to main with --force-with-lease past b5fb80a before the first push)
    Worktree: objectstack-issue-37528
    Domain: domain:ui
    Seat: repo:objectstack#2
    Area: s2-ux-L
    File surface: ui/packages/app-shell/src/layout/chromeBannerHost.tsx, ui/packages/layout/src/AppShell.tsx, one-line className changes on the full-height app-shell shells (Studio, Home docked mode, AI chat page), tests, one changeset
    Container & model: S, mode:thread (area thread implements, no os-dev), model: default — no path-derived mandate, effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack console (while an admin impersonates, the banner's height is added to full-height shells: Studio 821/768 at 1280×768, and /home, an app list and Studio 921/844 at 390×844; desktop in-app already fits since #36112) | none | admins impersonating a user: list footers and bulk action bars fall below the viewport
    Thread-read: 7190607651
    Premise: holds in part (area thread's measure at main 4116465; the desktop in-app half is fixed by #36112)
    Serial constraints cleared: #37546 and #37542 touch StudioDesignSurface.tsx, #37539 touches AiChatPage.tsx; this changes one outer className each, and overlap-check before the first push decides whether it queues

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 26, 2026
  6. removed
    pm:dispatched
    on Nov 26, 2026
  7. added a commit that references this issue on Dec 1, 2026
    e2837e7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions