CSS overflow-anchor Property
Turn off scroll anchoring:
Try it Yourself »
Definition and Usage
overflow-anchor property makes it possible to turn off scroll anchoring.
Scroll anchoring is a feature in the browser that prevents a viewable area that is scrolled into focus to move when new content is loaded above. This is typically a problem on a slow connection if the user scrolls down and starts reading before the page is fully loaded.
|no. Read about animatable
|object.style.overflowAnchor="none" Try it
The numbers in the table specify the first browser version that fully supports the property.
|Default value. Scroll anchoring is enabled
|Scroll anchoring is disabled
|Sets this property to its default value. Read about initial
|Inherits this property from its parent element. Read about inherit
CSS tutorial: CSS Overflow
CSS overflow property: CSS Overflow property