diff --git a/src/components/carousel/carousel.ts b/src/components/carousel/carousel.ts index ff03e1577..2671b4c74 100644 --- a/src/components/carousel/carousel.ts +++ b/src/components/carousel/carousel.ts @@ -487,7 +487,7 @@ export default class WaCarousel extends WebAwesomeElement { const currentPage = this.getCurrentPage(); const prevEnabled = this.canScrollPrev(); const nextEnabled = this.canScrollNext(); - const isLtr = this.localize.dir() === 'ltr'; + const isLtr = this.matches(':dir(ltr)'); return html`