Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTL Plugin Infinite doesn't work #736

Open
ibnujakaria opened this issue Nov 15, 2021 · 0 comments
Open

RTL Plugin Infinite doesn't work #736

ibnujakaria opened this issue Nov 15, 2021 · 0 comments

Comments

@ibnujakaria
Copy link

ibnujakaria commented Nov 15, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant