Problem/Motivation
When a user interacts with an exposed filter for a view that uses AJAX, the page now scrolls to the top of the view element. A regression was introduced with this Drupal core change for 10.6.x and 11.x:
There is an open Drupal core issue for this:
This regression affects AJAX views in both Quickstart 3.3.x and the pull request to upgrade Quickstart 2.x to Drupal 10.6.x.
To Reproduce
Steps to reproduce the behavior:
- Go to /calendar (or any view with an exposed filter that uses AJAX)
- Click on one of the filters
- Observe that the page scrolls to the top of the view element
Proposed resolution
Use a patch for Drupal core to revert to the previous behavior.
Expected behavior
Using filters should not automatically scroll the page unless specifically intended for that view.
Related issues
Problem/Motivation
When a user interacts with an exposed filter for a view that uses AJAX, the page now scrolls to the top of the view element. A regression was introduced with this Drupal core change for 10.6.x and 11.x:
There is an open Drupal core issue for this:
This regression affects AJAX views in both Quickstart 3.3.x and the pull request to upgrade Quickstart 2.x to Drupal 10.6.x.
To Reproduce
Steps to reproduce the behavior:
Proposed resolution
Use a patch for Drupal core to revert to the previous behavior.
Expected behavior
Using filters should not automatically scroll the page unless specifically intended for that view.
Related issues