Open github-actions[bot] opened 1 year ago
https://www.drupal.org/node/3344141
Introduced in branch/version: 10.1.x / 10.1.0
Drupal Views module has a Drupal\views\Ajax\ScrollTopCommand AJAX command that allows scrolling browser to the top using AJAX commands.
Drupal\views\Ajax\ScrollTopCommand
To use the new command just replace use Drupal\views\Ajax\ScrollTopCommand; to the use Drupal\Core\Ajax\ScrollTopCommand; and that's all.
use Drupal\views\Ajax\ScrollTopCommand;
use Drupal\Core\Ajax\ScrollTopCommand;
Seems like 4 usages in contrib: https://git.drupalcode.org/search?group_id=2&scope=blobs&search=ScrollTopCommand+-path%3Aweb%2Fcore+-path%3Acore%2F+-WebformScrollTopCommand
Very low prio :x
https://www.drupal.org/node/3344141
Introduced in branch/version: 10.1.x / 10.1.0
Drupal Views module has a
Drupal\views\Ajax\ScrollTopCommand
AJAX command that allows scrolling browser to the top using AJAX commands.To use the new command just replace
use Drupal\views\Ajax\ScrollTopCommand;
to theuse Drupal\Core\Ajax\ScrollTopCommand;
and that's all.