scroll-areas

Review interface layouts for nested scrolling and overflow behavior.

33|6|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/dembrandt/dembrandt-skills --skill scroll-areas-dembrandt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scroll-areas
Source: https://github.com/dembrandt/dembrandt-skills/tree/main/skills/scroll-areas
Command: npx skills add https://github.com/dembrandt/dembrandt-skills --skill scroll-areas-dembrandt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents confusing nested scrolling, scroll hijacking, and disorienting two-axis overflow by keeping navigation predictable and user-controlled.

Core Features & Use Cases

  • Avoid Unnecessary Inner Scroll: Prefer page-level scrolling, pagination, collapsible sections, separate routes, and progressive disclosure.
  • Control Justified Scroll Areas: Apply one-axis scrolling to fixed-height sidebars, data tables, chat panels, logs, code editors, and terminal panes.
  • Preserve User Control: Avoid forced auto-scrolling and scroll hijacking while supporting appropriate restoration, anchor navigation, and conditional chat updates.
  • Improve Scroll Affordance: Use partial content visibility and subtle visible scrollbars so users can recognize scrollable regions.
  • Use Case: Review a fixed-height data table or application panel and determine whether it needs inner scrolling, which axis it should use, and how to make the behavior accessible on touch devices.

Quick Start

Use the scroll-areas skill to review this layout for unnecessary nested scrolling, axis conflicts, auto-scroll behavior, and missing scroll affordances.

Frequently Asked Questions about scroll-areas

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent nested scrolling and uncontrolled overflow in interface layouts?

To prevent nested scrolling and uncontrolled overflow, prefer page-level scrolling, pagination, or collapsible sections. Apply single-axis scrolling only to justified fixed-height containers like sidebars to keep navigation predictable and user-controlled.

When do data tables or chat panels need inner scroll areas?

Data tables, chat panels, and code editors need inner scroll areas when they are fixed-height or constrained components. Apply a single scroll axis to these justified containers while preserving native user-controlled scrolling behavior and avoiding scroll hijacking.

What's the best way to improve scroll affordance for constrained layout panels?

The best way to improve scroll affordance is using partial content visibility and subtle visible scrollbars. This ensures users can easily recognize scrollable regions within constrained panels without relying on confusing nested scroll areas.

How do I handle auto-scroll behavior without hijacking scroll in log views?

Handle auto-scroll behavior in log views by avoiding forced auto-scrolling and scroll hijacking. Instead, support appropriate scroll restoration, anchor navigation, and conditional updates to preserve user control over the scrolling experience.

Does page-level scrolling work for touch devices with fixed-height sidebars?

Page-level scrolling works for touch devices by default, while fixed-height sidebars require accessible single-axis inner scrolling. Ensure native user-controlled behavior and visible scroll affordances are maintained across all constrained components.