react-infinite-scroller icon indicating copy to clipboard operation
react-infinite-scroller copied to clipboard

Chrome 56 automatically scrolls to the bottom of the page

Open rawroland opened this issue 7 years ago • 5 comments

The new scroll anchoring feature introduced in Google Chrome 56 forces the scrolling to the bottom of the page, which in turn triggers infinite scrolling. See https://github.com/angular-ui/ui-scroll/issues/138.

A temporary fix would be to set overflow-anchor: none; to the parent element.

rawroland avatar May 04 '17 14:05 rawroland

Finally this fixed it, thanks! Just like me, people looking for issues such as #48 #53 #26 #23 #14 might find this one helpful.

When scrolling really fast, I'd reach the bottom of the page and Chrome would then stick there, triggering the loadMore multiple times.

In my case, adding overflow-anchor: none; to my main 'content container' did it, the same one that container header, infinited content and footer.

PierreGUI avatar Feb 26 '18 12:02 PierreGUI

I recently updated the issue templates on this repo so that I can identify the bugs with this repo.

Please clone your layout and use of react-infinite-scroller by forking this Code Sandbox and linking it here. Doing so will massively expedite getting the bug fixed! 👊

danbovey avatar May 14 '18 18:05 danbovey

@rawroland Spent 2 days fixing loadMore infinite loop issue. Thanks, your workaround helped!

kuzyo avatar May 24 '19 10:05 kuzyo

I cannot thank you enough for this solution!!! You saved my life. <3

raikusy avatar Oct 03 '19 13:10 raikusy

@rawroland you saved our times.

JeGwan avatar Dec 17 '21 09:12 JeGwan