From d444efe9f730d2a7dd187ffd7854bfa61a9be4db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lise=20N?= Date: Sat, 22 Nov 2025 16:47:44 -0500 Subject: [PATCH] Don't scroll on product action --- src/modules/products/components/product-actions/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/products/components/product-actions/index.tsx b/src/modules/products/components/product-actions/index.tsx index c16f71d0a..28819f64a 100644 --- a/src/modules/products/components/product-actions/index.tsx +++ b/src/modules/products/components/product-actions/index.tsx @@ -89,7 +89,7 @@ export default function ProductActions({ params.delete("v_id") } - router.replace(pathname + "?" + params.toString()) + router.replace(pathname + "?" + params.toString(), { scroll: false }) }, [selectedVariant, isValidVariant]) // check if the selected variant is in stock