Skip to content

Commit 732538b

Browse files
MAGETWO-94990: [2.3] Configurable product thumbnail images slow to generate when high number of thumbnails (14+) in vertical navigation
1 parent 9c4e95d commit 732538b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/fotorama/fotorama.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2568,7 +2568,7 @@ fotoramaVersion = '4.6.4';
25682568
thisData.t > rightLimit : thisData.l > rightLimit;
25692569
specialMeasures.w = thisData.w;
25702570

2571-
if (thisData.l + thisData.w < leftLimit
2571+
if ((opts.navdir !== 'vertical' && thisData.l + thisData.w < leftLimit)
25722572
|| exceedLimit
25732573
|| callFit(thisData.$img, specialMeasures)) return;
25742574

0 commit comments

Comments
 (0)