I have used this module successful before with other views. I just realized though that you are unable to actually add the pager to an attachment which seems odd...?

Basically, the design scenario I have is that the main page is a map and the attachment is a listing of products whereby I would like the infinite scroll.

Comments

ShaneOnABike created an issue. See original summary.

cassien’s picture

Hi,

I have the same problem.

As I can see, there is nor paging solution....

bas.bakker’s picture

Same problem in the 8.x version as well.
I can configurate the infinite scroll on the attachment, but it doens't neem to work.

Jordan Vector’s picture

Same use case here and exact same problem.

franckylfs’s picture

Same problem in the 8.5 version as well.

A part of the problem is because the script js/infinite-scroll.js is not inserted into the page when the view with infinite scroll is an attachment.
I tested it by adding/removing the infinite scroll option on my main display and it was adding it only when my main display was having it.
It may help you find the problem.

zenimagine’s picture

Same problem for Drupal 8.5

If the content is attached to a slide, it works :
https://www.s1biose.com/article

If the content is attached to a map, it does not work :
https://www.s1biose.com/profil

@FranckyLFS I tested your solution, but it does not work for me.

zenimagine’s picture

d70rr3s’s picture

I'm having a similar issue, in my case the map is the attachment but is not working either the AJAX call is replacing the current listed items with those from the loaded page. I think this is more like a separate use case (feature request) than a bug, since in normal behavior the new page will appended after the previous one but, when comes to listed map items what should happen is the append being done at row level on the backend (views) and returned the expanded list back as a reponse. Not sure where to star to provide such feature.

neslee canil pinto’s picture

Status: Active » Closed (works as designed)