react-slick icon indicating copy to clipboard operation
react-slick copied to clipboard

RTL Direction Not Working Properly

Open Sathyaraj-dev opened this issue 1 year ago • 2 comments

CodeSandbox link Issue Link

In the provided CodeSandbox link, when switching the direction from LTR (left-to-right) to RTL (right-to-left), the current slide in the slider changes from 0 to the last slide. Specifically:

  • For LTR, the slider functions correctly, starting from slide 0 and progressing to the last slide.
  • For RTL, the slider starts from the last slide and moves towards slide 0.

Steps to Reproduce:

  • Set the slider direction to LTR and observe the behavior.
  • Switch the direction to RTL and observe that the slider starts from the last slide and moves towards slide 0.

Expected Behavior:

  • The slider should maintain consistent behavior regardless of direction:

For both LTR and RTL, the slider should start from slide 0 and move to the last slide.

Current Behavior:

  • In RTL mode, the slider behaves inversely, starting from the last slide.

Thank you for looking into this issue! Sathyaraj

Sathyaraj-dev avatar Jul 23 '24 08:07 Sathyaraj-dev

Can anyone help with this? I've checked all the RTL-related issues on GitHub, but nothing is working properly. Please help with this issue.

Sathyaraj-dev avatar Jul 25 '24 07:07 Sathyaraj-dev

same issue

SorooshGb avatar Jan 18 '25 10:01 SorooshGb