Add CSS overscroll-behavior fix to Firefox 150 release notes#43813
Open
Add CSS overscroll-behavior fix to Firefox 150 release notes#43813
Conversation
Contributor
|
Preview URLs (2 pages)
External URLs (1)URL:
|
Contributor
|
This pull request has merge conflicts that must be resolved before it can be merged. |
dipikabh
approved these changes
Apr 16, 2026
Contributor
dipikabh
left a comment
There was a problem hiding this comment.
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. |
Contributor
There was a problem hiding this comment.
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,"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
overscroll-behaviorfix to Firefox 150 release notesMotivation
The
overscroll-behavioris fixed in Firefox 150 and Chrome 144.Additional details
Related issues and pull requests