Skip to content

Add config settings for ScrollTop Command triggered on AJAX views (controller) when there is a pager in place #586

@DiegoPino

Description

@DiegoPino

What?

Very fine grained request. Most of our users don't even know about the ADO to ADO AJAX (views <-> html data properties <-> Viewers) nor that we override Drupal's AJAX (which has so many issues) Controller with our own implementation.

Right now, there is a JS action that triggers an AjAX Command (scroll up) when a view is loaded dynamically && has a pager(even if not used). Our interactions tap in between but eventually call the Drupal AJAX mechanic, so that Command could be triggered.

The idea would be to add an extra setting (like the one we have that allows us to skip setting the URL on an AJAX call) that allows a specific view to not call scroll up at all. Maybe? even a CSS selector option so the scroll-up could also be defined to scroll just to a certain part?

Very niche

Metadata

Metadata

Assignees

Labels

Drupal ViewsAsk and you should receiveJavascriptFavourite language of a PHP developerSub ModulesWhen you need more .info.yml files to keep life organizedenhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions