Skip to content

Commit

Permalink
Merge pull request scandipwa#5271 from AleksandrsKondratjevs/issue-5241
Browse files Browse the repository at this point in the history
issue-5241 - Fix scroll for configurable products
  • Loading branch information
AleksandrsKondratjevs authored Nov 2, 2022
2 parents 0e02a91 + a1ea1d3 commit d34fc37
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 d34fc37

Please sign in to comment.