Skip to content

Server Settings / Client Settings modals: header scrolls out of view #1698

Description

@cliffhall

When enough accordion sections are expanded in the Server Settings modal, the modal body grows past the viewport and the whole modal scrolls — taking the header (title and close button) out of view.

The header should stay pinned and only the content area should scroll.

Image

Expected

  • Modal header is always visible, regardless of how much content is expanded.
  • Content below the header scrolls within the modal.

Scope

  • clients/web/src/components/groups/ServerSettingsModal/ServerSettingsModal.tsx
  • Apply the same change to the Client Settings modal. It does not currently have enough content to scroll, but it may in future — keep the two consistent.

Notes

Mantine Modal supports this via scrollAreaComponent={ScrollArea.Autosize}, which keeps Modal.Header sticky and scrolls Modal.Body. Per project conventions, prefer component props / theme variants over CSS classes.

Metadata

Metadata

Assignees

Labels

v2Issues and PRs for v2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions