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

RTL Plugin Infinite doesn't work

Open ibnujakaria opened this issue 4 years ago • 0 comments

Describe the bug

When the html element use dir="rtl" attribute, and we set the slider plugins with ['infinite', 'rtl'], the slider is blank. But when I remove the 'infinite' plugin, it works.

To Reproduce Steps to reproduce the behavior:

  1. Use dir="rtl" on parent html element
  2. Use plugins ['rtl']
  3. It works
  4. Then use plugins ['rtl', 'infinite']
  5. It doesn't work and the slider goes blank

Expected behavior It should work as what it is on left to right direction.

Environment

System:
  OS: Linux 5.10 Ubuntu 20.04.3 LTS (Focal Fossa)
  CPU: (4) x64 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz
  Memory: 2.05 GB / 5.65 GB
  Container: Yes
  Shell: 5.0.17 - /bin/bash
Binaries:
  Node: 15.14.0 - ~/.nvm/versions/node/v15.14.0/bin/node
  Yarn: 1.22.17 - ~/.nvm/versions/node/v15.14.0/bin/yarn
  npm: 7.7.6 - ~/.nvm/versions/node/v15.14.0/bin/npm
npmPackages:
  @brainhubeu/react-carousel: ^2.0.4 => 2.0.4 
  • Desktop and Mobile
  • Chrome

ibnujakaria avatar Nov 15 '21 07:11 ibnujakaria