Open TheGooner93 opened 1 year ago
Setting direction:rtl on document.body seems to break slide navigation. Reproducible on https://nuka-carousel-jz0747srr-nuka-carousel.vercel.app/
direction:rtl
Being able to navigate from right to left when direction:rtl is set on
Only the first slide is visible, on clicking on the "next slide" button, a blank slide is displayed
Demo:
https://user-images.githubusercontent.com/8807030/230324410-b7a0b9c2-279c-4b9a-a149-e2890364216a.mov
I had the same problem Work around: wrap it in div and set dir to ltr
Id the item inside needs to be rtl wrap it also in a div thar inherits body dir
Bugs and Questions
Prerequisites
Describe Your Environment
Describe the Problem
Setting
direction:rtl
on document.body seems to break slide navigation. Reproducible on https://nuka-carousel-jz0747srr-nuka-carousel.vercel.app/Expected behavior:
Being able to navigate from right to left when
direction:rtl
is set onActual behavior
Only the first slide is visible, on clicking on the "next slide" button, a blank slide is displayed
Additional Information
Demo:
https://user-images.githubusercontent.com/8807030/230324410-b7a0b9c2-279c-4b9a-a149-e2890364216a.mov