The dom_id was missing from the Olivero front page template. That's why it wasn't working for me at least. π Olivero views front page template missing dom_id RTBC
- πΊπΈUnited States mmrtnt
I just encountered this today - not in Olivera, in an override in a Bartik sub-theme - after upgrading from Drupal 8.9 to 9.5.11.
Here's what I did to resolve it, in case someone else lands here after running into it while upgrading:
- Replace core/Bartik with contrib/Bartik
- Upgrade drupal/views_infinite_scroll to ^2.0 in Composer
- π¨π΄Colombia kayograco
I solved it.
I have two displays in the same view, a page and a block. I activated ajax for both (all displays), but infinite scroll just for one, the page; for the block I just selected the standard pager to show all items.
In order for this to work, on the page I selected the option for the user to click on "load more content" and then back to autoload content.
Sorry my Drupal instance is in spanish, so I don't know exactly the english names.