Skip to content

Commit 32b7a8f

Browse files
authored
Merge pull request #181 from magento-sparta/MAGETWO-55463
[Support] Portdown MAGETWO-53793 down to M2.1.x branch
2 parents 451054e + 4d16d0f commit 32b7a8f

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Checkout/view/frontend/web/js

1 file changed

+2
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/sidebar.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ define([
246246
target = $(this.options.minicart.list),
247247
outerHeight;
248248

249+
self.scrollHeight = 0;
249250
target.children().each(function () {
250251

251252
if ($(this).find('.options').length > 0) {
@@ -259,7 +260,7 @@ define([
259260
self.scrollHeight += outerHeight;
260261
});
261262

262-
target.height(height);
263+
target.parent().height(height);
263264
}
264265
});
265266

0 commit comments

Comments
 (0)