Closed (outdated)
Project:
Views Infinite Scroll
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2022 at 13:15 UTC
Updated:
8 Dec 2025 at 23:36 UTC
Jump to comment: Most recent
Comments
Comment #2
neslee canil pinto@prudloff not sure what you meant here, this has been already fixed and 2.x branch works well with 9.2 and above.
Comment #3
prudloff commentedThe change (ajax_view.js switching to the new once library) was introduced in Drupal 9.3. Drupal 9.2 still uses the old jquery.once library.
So by using this new library, views_infinite_scroll 2.0 breaks compatibility with Drupal 9.2 and is only compatible with Drupal >=9.3, not 9.2 and above as you said.
This means the dependency declared in
views_infinite_scroll.info.ymlis not correct.Comment #5
prudloff commentedComment #6
camslice commentedFYI this is still broken in Drupal 9.3
I can click "Load more" the first time and it successfully updates the view items using Ajax. However the second time the Ajax fails and the page reloads. There are no errors in my Javascript console and I have no other copies/override of
infinite-scroll.jsin my theme.Drupal
v9.3.7views_infinite_scroll
v2.0Comment #7
camslice commentedApologies, I can confirm that this is fixed in Drupal 9.3
However you need to clear ALL OF THE CACHES:
Comment #8
herved commentedHi, just wanted to mention that I'm having the same issue with views_infinite_scroll 2.0.0 and Drupal 9.2.x.
I downgraded to 1.9.0 for now.
Comment #9
cfbauer commentedI am experiencing the issue as well, Drupal 9.3.6. Clicking on "Load more" works the first time but not the second. ?page=2 gets appended to the url.I was wrong, updating to 2.0.x-dev fixes is the issue.
Comment #10
Greenman77 commentedLikewise here, one of my sites is 9.3.2 and was running 2.0 infinite scroll would work once to get one page of items and then stop. No javascript errors to speak of.
I then added the dev fix as cfbauer has mentioned above and it's working again. Hopefully, the patch can be rolled into the next minor update.
Thanks.
Comment #11
hikkypo commentedI also have this loading issue with drupal 9.2.7 and version 2.0 of infinite scroll. Downgrading to 1.9 fixed this issue.
Comment #12
neslee canil pinto@cfbauer the dev version and latest release have got the same codebase, nothing was pushed after that to the dev version. Can you tell me what you did? So I can provide a new release with some more bug fixes in it.
Comment #13
cfbauer commented@Neslee -- Apologies for not being more clear. It looks like we were running 1.8 before updating to 2.0.x-dev. Would that explain it?
Comment #14
neslee canil pinto@cfbauer ha okay got it, will include this changes in next release and update you here.
Comment #15
prudloff commentedviews_infinite_scroll does not support Drupal 9 anymore.