react-infinite-scroll-component icon indicating copy to clipboard operation
react-infinite-scroll-component copied to clipboard

When inverse scrolling, page content jumps to the top

Open Apestein opened this issue 2 years ago • 6 comments

When scrolling down, everything works as normal. Scroll div content will stay where it is and user to scroll down to see more loaded content. But with inverse, the page content jumps up to the top

Apestein avatar Dec 30 '22 05:12 Apestein

Started having the same issue recently, was working normally before

tiagomnferreira avatar Jan 16 '23 20:01 tiagomnferreira

If anyone having this problem, the solution is overflow-anchor: none

Apestein avatar Feb 10 '23 18:02 Apestein

@Apestein Perfect Thank you!

zhangwei900808 avatar Apr 27 '23 07:04 zhangwei900808

not working for me

sudhanshuw360 avatar Aug 18 '23 07:08 sudhanshuw360

I ended up just making my own infinite scroll component. Check it out. https://github.com/Apestein/better-react-infinite-scroll

Apestein avatar Aug 18 '23 13:08 Apestein

I ended up just making my own infinite scroll component. Check it out. https://github.com/Apestein/better-react-infinite-scroll

Thank you so much. Your repo helped me a lot!

LucasJantschChitolina avatar Jul 03 '24 19:07 LucasJantschChitolina