AJAX fails on loading the 3rd page

Created on 15 December 2022, over 1 year ago
Updated 4 July 2023, 12 months ago

Problem/Motivation

Drupal 9.4.9
Views_infinit_scroll 2.0.1

We use button to load the next page with AJAX.
The first time the button works fine and the next page content loads.
Also the button "more" is visible.
But when we click the once more on the "more" button - the page is reloaded and GET argument ?page=2 appears. So the page is loaded directly not throug AJAX call.

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡±πŸ‡»Latvia Nor4a

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024