Skip to content

[TableOfContents]: sticky card scrolls as a whole, heading included #758

Description

@ly-tempel-bitweb

Problem

When a sticky TOC is taller than its max height, the heading stays pinned and only the list scrolls. The heading doesn't need to stay in view.

Solution

Make the whole sticky card scrollable, heading included, and remove the pinned-heading layout rules. Update the StickyInLayout story and comments to match.

Examples and information

Storybook: TEDI-Ready/Components/Navigation/TableOfContents → StickyInLayout

Metadata

Metadata

Assignees

Labels

tedi-readyTEDI-Ready component issue

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions