@vectoriox/iox-builder 1.4.98 → 1.4.99
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.
|
@@ -5557,8 +5557,14 @@ class SliderContainerComponent {
|
|
|
5557
5557
|
ngOnChanges(changes) {
|
|
5558
5558
|
if (!this._swiper)
|
|
5559
5559
|
return;
|
|
5560
|
+
// dir-only change: use changeLanguageDirection() — avoids full reinit
|
|
5561
|
+
// which races against Angular re-rendering slides in the DOM.
|
|
5562
|
+
if (changes['dir'] && Object.keys(changes).length === 1) {
|
|
5563
|
+
this._swiper.changeLanguageDirection(this.dir);
|
|
5564
|
+
return;
|
|
5565
|
+
}
|
|
5560
5566
|
const previewKeys = new Set([
|
|
5561
|
-
'
|
|
5567
|
+
'direction', 'loop', 'slidesPerView', 'slidesPerGroup', 'spaceBetween', 'speed',
|
|
5562
5568
|
'effect', 'grabCursor', 'centeredSlides', 'initialSlide', 'autoHeight',
|
|
5563
5569
|
'slideToClickedSlide', 'freeMode', 'breakpoints',
|
|
5564
5570
|
'enableNavigation', 'navigationColor', 'navigationSize',
|