Skip to content

Scrolling to the bottom of the user profile "Overview" page triggers the infinite scroll detection of the activity page, sending useless requests as fast as possible without any user interaction

Summary

Scrolling to the bottom of the user profile "Overview" page triggers the infinite scroll detection of the activity page, sending useless requests as fast as possible without any user interaction, since new activities are loaded on the "Activity" tab, and not on the "Overview" tab, so we are always at the bottom of the page.

Steps to reproduce

  • Go to the profile of an active user, for example https://gitlab.com/jacopo-beschi
  • Click on the "Activity" tab
  • Go back to the "Overview" tab
  • Scroll to the bottom of the page
  • Open the browser console on the network tab, and notice all the continued requests going to https://gitlab.com/users/jacopo-beschi/activity?limit=20&offset={offset} with an ever increasing offset without touching anything

Output of checks

This bug happens on GitLab.com