Skip to content

Commit c253334

Browse files
MAGETWO-94462: Configurable product thumbnail images slow to generate when high number of thumbnails (14+) in vertical navigation
1 parent 6a014a5 commit c253334

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
@@ -2562,7 +2562,7 @@ fotoramaVersion = '4.6.4';
25622562
thisData.t > rightLimit : thisData.l > rightLimit;
25632563
specialMeasures.w = thisData.w;
25642564

2565-
if (thisData.l + thisData.w < leftLimit
2565+
if ((opts.navdir !== 'vertical' && thisData.l + thisData.w < leftLimit)
25662566
|| exceedLimit
25672567
|| callFit(thisData.$img, specialMeasures)) return;
25682568

0 commit comments

Comments
 (0)