Skip to content

Commit

Permalink
Fix scroll for configurable products
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrsKondratjevs committed Nov 1, 2022
1 parent f3667fc commit a1ea1d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a1ea1d3

Please sign in to comment.