fix: Render media correctly in rtl languages (#1757)

This commit is contained in:
Dermot Duffy
2024-12-14 14:58:22 -08:00
committed by GitHub
parent dc5de02e02
commit cebd4b215b
10 changed files with 160 additions and 94 deletions
@@ -194,6 +194,7 @@ describe('CarouselController', () => {
loop: true,
dragEnabled: false,
plugins: plugins,
textDirection: 'rtl',
});
expect(EmblaCarousel).toBeCalledWith(
@@ -209,6 +210,7 @@ describe('CarouselController', () => {
watchSlides: false,
watchResize: true,
watchDrag: false,
direction: 'rtl',
},
plugins,
);