kb/data/developer.mozilla.org/en-US/docs/Glossary/Scroll_chaining-0.md

11 KiB

title chunk source category tags date_saved instance
Scroll chaining - Glossary | MDN 1/3 https://developer.mozilla.org/en-US/docs/Glossary/Scroll_chaining reference web, html, css, javascript, documentation 2026-05-05T05:44:41.207414+00:00 kb-cron

MDN HTML HTML: Markup language

HTML reference

HTML guides

Markup languages

CSS CSS: Styling language

CSS reference

CSS guides

Layout cookbook

JavaScriptJS JavaScript: Scripting language

JS reference

JS guides

Web APIs Web APIs: Programming interfaces

Web API reference

Web API guides

All All web technology

Technologies

Topics

Learn Learn web development

Frontend developer course

Learn HTML

Learn CSS

Learn JavaScript

Tools Discover our tools

About Get to know MDN better

Blog

  1. Glossary
  2. Scroll chaining

Scroll chaining

Scroll chaining refers to the behavior observed when a user scrolls past the Scroll boundary of a scrollable element, causing scrolling on an ancestor element. When a user scrolls within a scrollable element such as a <div> or <textarea> and the scrollport boundary (top, bottom, left or right) of the scrollable element is reached, there may be a "chained effect" in which the scroll action is seamlessly propagated to the parent element. This behavior creates a continuous scrolling experience, both vertically and horizontally. A scroll chain is the order of scrollable elements where the scrolling action passes from one element to another. This happens when an inner element is scrolled to its limit, and the scrolling continues to its parent element, creating a 'chain' of scrolling actions. Chaining typically recurses up the containing block.

In this article

See also