I have had the same issue on multiple sites on D10 - sites on D8 are not experiencing this.
The issue only happens when logged in as Admin, when visiting the site as a regular user im able to load all the content from the load more button in the infinite view.using Views Infinite Scroll module 2.0.2
I dont have any sites on 9 to test but assuming this is a D9 and up issue?- πΊπ¦Ukraine noteboy
Just advice. Review your custom code. Can be case that you have overridden infinite-scroll.js in your theme and after upgrade that file was not updated and it causes an error
noteboy, thank you for the suggestion. I took a second look at this and found that the issue was that the custom theme on all the forementioned sites was loading an additional version of jquery as part of a library in theme.libraries.yml, I removed this and rewrote some of the custom javascript to use the version supplied by core.
- π΅π°Pakistan dewancodes
I am facing the same issue after upgrading the site from Drupal 10 to Drupal 11.2. The views infinite scroll is not working, while logged in as admin. It works fine for anonymous users though.