Skip to content

[BUG] Settings UI - sticky header overlaps text in long panels #10988

@rossdonald

Description

@rossdonald

Problem (one or two sentences)

In the settings web UI, each settings panel has a heading and subheading that is sticky. On longer panels, the sticky header overlaps the text content when scrolling, making content unreadable.

Image

Analysis

The SectionHeader component has the following CSS classes:

className={cn(
"sticky top-0 z-10 text-vscode-sideBar-foreground bg-vscode-sideBar-background px-5 pt-6 pb-4",
className,

The Problem

  1. sticky top-0: Makes the header stick to the top of its nearest scrollable ancestor
  2. z-10: Places the header above other content (z-index: 10)
  3. bg-vscode-sideBar-background: Gives the header a solid background color
  4. px-5 pt-6 pb-4: Adds padding to the header

When content scrolls, it moves under the sticky header. Because the header has:

  • A solid background color
  • A z-index that places it above content
  • No spacing mechanism to prevent overlap

The content that scrolls under the header becomes covered and unreadable.

Affects all settings panels use the SectionHeader component.

Context (who is affected and when)

Users using settings section

Reproduction steps

  1. Go to settings
  2. Click on Context
  3. Scroll down

Expected result

Heading scrolls or does not overlap other text

Actual result

Heading is sticky and overlaps text in panel

Variations tried (optional)

No response

App Version

3.43.0

API Provider (optional)

None

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions