DEV Community

Sascha Eggenberger
Sascha Eggenberger

Posted on • Originally published at saschaeggi.Medium

1

Fix issue with scroll position after loading data in Chrome 56+

Load More

Chrome 56 executes some computations to make the scroll position stay in the same position. This currently looks like this:

Current behavior in Chrome 56+

What you would expect instead

Expected behavior

How to change this behavior?

overflow-anchor to the rescue! https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-anchor

overflow-anchor: none;

It’s as easy as this.

Top comments (0)

ACI image

ACI.dev: The Only MCP Server Your AI Agents Need

ACI.dev’s open-source tool-use platform and Unified MCP Server turns 600+ functions into two simple MCP tools on one server—search and execute. Comes with multi-tenant auth and natural-language permission scopes. 100% open-source under Apache 2.0.

Star our GitHub!

👋 Kindness is contagious

Found this post helpful? A ❤️ or a friendly comment is always appreciated!

Okay