From a1ea1d3c4255790ead9ac0ba15a856477b00eaa8 Mon Sep 17 00:00:00 2001 From: aleksandrskondratjevs Date: Tue, 1 Nov 2022 15:50:12 +0200 Subject: [PATCH] Fix scroll for configurable products --- packages/scandipwa/src/component/Product/Product.container.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/scandipwa/src/component/Product/Product.container.tsx b/packages/scandipwa/src/component/Product/Product.container.tsx index bf9dc25930..409002b373 100644 --- a/packages/scandipwa/src/component/Product/Product.container.tsx +++ b/packages/scandipwa/src/component/Product/Product.container.tsx @@ -414,7 +414,7 @@ S extends ProductContainerState = ProductContainerState, // For product configurable attributes if (attributes) { - attributes.scrollIntoView({ block: 'center', behavior: 'smooth' }); + attributes.scrollIntoView({ block: 'center' }); return; }