zz-shopify-components 0.16.3-beta.4 → 0.16.3-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
<div
|
|
209
209
|
class='zz-normal-swiper swiper zz-normal-swiper-{{ block.id }}'
|
|
210
210
|
>
|
|
211
|
-
<div class='zz-swiper-wrapper swiper-wrapper'>
|
|
211
|
+
<div class='zz-swiper-wrapper swiper-wrapper tw-invisible'>
|
|
212
212
|
{% for block in block.blocks %}
|
|
213
213
|
<div class='swiper-slide'>
|
|
214
214
|
{% render block %}
|
|
@@ -291,6 +291,7 @@
|
|
|
291
291
|
if (initialized) return;
|
|
292
292
|
initialized = true;
|
|
293
293
|
instance = new Swiper(swiperSelector, options);
|
|
294
|
+
if (swiperWrapper) swiperWrapper.classList.remove('tw-invisible');
|
|
294
295
|
}
|
|
295
296
|
|
|
296
297
|
const root = block.querySelector(swiperSelector);
|