Skip to content

Adjust Page to support non-PF header/footer and outer scroll #8432

Description

@patternfly-jira-sync

Background

The current PatternFly page is opinionated:

  • Feels like both a presentational surface (card-like: border, radius, background) and a layout shell (padding, overflow, scroll).

  • Hard to compose with app-owned header/footer

  • Existing page-level scroll with fixed masthead/footer is surprising (e.g. footer visibility when scrolled to bottom vs. top).

  • Today, “plain” behavior is mainly via pf-m-plain / isPlain on page__main-section, page__main-group, etc. Glass theme can auto-apply plain section styling unless pf-m-no-plain-on-glass. Root Page / page__drawer / main container height and overflow still drive nested scroll contexts.

The request

  • A non-breaking, plain, layout-friendly page that works with non-PatternFly headers and footers. It must scroll from the outermost scrollbar rather than page sections

Acceptance criteria

Official Page** **demo that works in a fixed masthead/footer shell without consumer overrides for height, overflow, or overscroll.

Links

Notes from Matt

  • Document and support usage for standard shell examples (pf-m-plain on sections/groups; clarify glass + pf-m-no-plain-on-glass).

  • If section-level pf-m-plain is insufficient, add an explicit Page-level modifier or prop for layout-only behavior—without changing current defaults.

  • page__drawer + main: avoid imposing height/overflow that force nested scroll unless consumer opts into styled/fill behavior.


Jira Issue: PF-4247

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions