We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e43bb1 commit cb738d1Copy full SHA for cb738d1
app/code/Magento/PageBuilder/view/base/web/js/content-type/slider/appearance/default/widget.js
@@ -5,8 +5,9 @@
5
6
define([
7
'jquery',
8
+ 'Magento_PageBuilder/js/events',
9
'slick'
-], function ($) {
10
+], function ($, events) {
11
'use strict';
12
13
return function (config, sliderElement) {
@@ -27,5 +28,9 @@ define([
27
28
arrows: $element.data('show-arrows'),
29
dots: $element.data('show-dots')
30
});
31
+
32
+ events.on('contentType:redrawAfter', function () {
33
+ $element.slick('setPosition');
34
+ });
35
};
36
0 commit comments