Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294415

Make Views AJAX scroll to top optional

$
0
0

Problem/Motivation

Views uses an automatic "scroll to top" behaviour when using AJAX. While it can be useful in some situations (eg. switching to the next page of a long list) in other situations it can be annoying (eg. Views block with exposed filter in the middle of a page).

Steps to reproduce

Create Views block with exposed filter that uses AJAX and place it in the middle of a page. Use the filter. The page will scroll to the top, above the view.

Proposed resolution

Add a setting option to Views AJAX UI to disable the "scroll to top" behaviour. It should be possible to set at the display level.

Remaining tasks

User interface changes

The Views UI will have a setting option for AJAX on every display to disable the "scroll to top" behaviour.

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 294415

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>