Skip to content

Add CSS overscroll-behavior fix to Firefox 150 release notes#43813

Open
pepelsbey wants to merge 1 commit intomdn:mainfrom
pepelsbey:firefox-overscroll-behavior
Open

Add CSS overscroll-behavior fix to Firefox 150 release notes#43813
pepelsbey wants to merge 1 commit intomdn:mainfrom
pepelsbey:firefox-overscroll-behavior

Conversation

@pepelsbey
Copy link
Copy Markdown
Member

Description

  • Adds overscroll-behavior fix to Firefox 150 release notes
  • Adds a paragraph to content explaining the behavior

Motivation

The overscroll-behavior is fixed in Firefox 150 and Chrome 144.

Additional details

Related issues and pull requests

@pepelsbey pepelsbey requested review from a team as code owners April 16, 2026 13:45
@pepelsbey pepelsbey requested review from chrisdavidmills and dipikabh and removed request for a team April 16, 2026 13:45
@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs Content:Firefox Content in the Mozilla/Firefox subtree size/xs [PR only] 0-5 LoC changed labels Apr 16, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Preview URLs (2 pages)

External URLs (1)

URL: /en-US/docs/Mozilla/Firefox/Releases/150
Title: Firefox 150 release notes for developers (Beta)

@github-actions
Copy link
Copy Markdown
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

Copy link
Copy Markdown
Contributor

@dipikabh dipikabh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just a small suggestion.
Thank you!


Note that this property applies only to {{Glossary("Scroll_container", "scroll containers")}}. In particular, since an [`<iframe>`](/en-US/docs/Web/HTML/Reference/Elements/iframe) is not a scroll container, setting this property on an iframe has no effect. To control scroll chaining from an iframe, set `overscroll-behavior` on both the [`<html>`](/en-US/docs/Web/HTML/Reference/Elements/html) and the [`<body>`](/en-US/docs/Web/HTML/Reference/Elements/body) elements of the iframe's document.

A {{Glossary("Scroll_container", "scroll container")}} that has no scrollable overflow (for example, when `overflow: hidden` is set and the content doesn't extend beyond the container) is always considered to be at its {{Glossary("Scroll_boundary", "scroll boundary")}}. So setting a non-default `overscroll-behavior` such as `contain` or `none` on it will prevent scroll chaining to ancestor scroll containers. This can be used to prevent background scrolling while a dialog or overlay is open.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a tiny suggestion to shorten the first sentence. The parenthetical content could be "(for example, an element with overflow: hidden)".
Or even changing it to the style used in the release note will work: ", such as an element with overflow: hidden,"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs Content:Firefox Content in the Mozilla/Firefox subtree merge conflicts 🚧 [PR only] size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants