From 5c99f331cf3a42339f7326eded47612b40e7ee3d Mon Sep 17 00:00:00 2001 From: David Arenas Date: Thu, 10 Aug 2023 12:06:25 +0200 Subject: [PATCH] Disable scroll in pagination links (#10522) --- src/BlockTypes/ProductQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BlockTypes/ProductQuery.php b/src/BlockTypes/ProductQuery.php index 04efb7124a9..ca15ea1bf1b 100644 --- a/src/BlockTypes/ProductQuery.php +++ b/src/BlockTypes/ProductQuery.php @@ -138,7 +138,7 @@ public function add_navigation_link_directives( $block_content, $block, $instanc $navigation_link_payload = array( 'prefetch' => $is_previous_or_next, - 'scroll' => true, + 'scroll' => false, ); $p->set_attribute(