DEV Community

Sascha Eggenberger
Sascha Eggenberger

Posted on • Originally published at saschaeggi.Medium

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!

overflow-anchor: none;

It’s as easy as this.

Top comments (0)