Exposed filter updates breaks work of scroll for anonymous users

Created on 17 April 2025, 26 days ago

Problem/Motivation

New incoming core update https://www.drupal.org/project/drupal/issues/3121172#mr10230-note488031 🐛 Exposed filters get values from url when ajax is on Needs work for exposed filters change breaks infinite scroll for anon users.

Steps to reproduce

Use of exposed filter ajax inside the views (rerenders on each request)

1. Use views with exposed filter;
2. Use Ajax;
3. Use the Infinite Scroll button "Show more";
4. Save
5. Add views on the page without separation of exposed filter and views
6. Try to press "Show more" with an anonymous user.

API changes / Proposed resolution

once.remove('exposed-form', view.$exposed_form);
// Changes to:
if (view.$exposed_form) {
  once.remove('exposed-form', view.$exposed_form);
}
📌 Task
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024