Skip to content

Commit fce77a6

Browse files
AC-10845::Pagebuilder banner image not visible in gallery
1 parent d290f35 commit fce77a6

File tree

1 file changed

+4
-4
lines changed
  • app/code/Magento/Ui/view/base/web/js/grid

1 file changed

+4
-4
lines changed

app/code/Magento/Ui/view/base/web/js/grid/masonry.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ define([
77
'Magento_Ui/js/lib/view/utils/raf',
88
'jquery',
99
'ko',
10-
'underscore'
10+
'underscore',
11+
'domReady!'
1112
], function (Listing, raf, $, ko, _) {
1213
'use strict';
1314

@@ -100,8 +101,7 @@ define([
100101
}
101102
this.imageMargin = parseInt(this.imageMargin, 10);
102103
this.container = $('[data-id="' + this.containerId + '"]')[0];
103-
104-
this.setLayoutStyles();
104+
this.setLayoutStylesWhenLoaded();
105105
this.setEventListener();
106106

107107
return this;
@@ -194,7 +194,7 @@ define([
194194
if (typeof this.container === 'undefined') {
195195
setTimeout(function () {
196196
this.waitForContainer(callback);
197-
}.bind(this), 500);
197+
}.bind(this), 1000);
198198
} else {
199199
setTimeout(callback, 0);
200200
}

0 commit comments

Comments
 (0)