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

Slider draging does not work in RTL direction #419

Closed
vladka opened this issue Aug 22, 2022 · 3 comments · Fixed by #457
Closed

Slider draging does not work in RTL direction #419

vladka opened this issue Aug 22, 2022 · 3 comments · Fixed by #457
Labels
stale Issues that became stale

Comments

@vladka
Copy link

vladka commented Aug 22, 2022

  • pure-react-carousel version: 1.29.0
  • react version: 18
  • browser used:
  • node version:

Relevant code or config:

<body dir="rtl" style={{direction: 'rtl'}}>
 <CarouselProvider
       ...
        >
          <Slider>{slides}</Slider>
 </CarouselProvider>
</body>

### What you did:
use a Slider inside RTL page

### What happened:
when drag a slider to the left, slider goes to the right and vice versa

### Suggested solution:
when drag a slider to the left, slider goes to the left
@Aminbaghban
Copy link

@vladka You can set transform: 'scaleX(1)' on Slider component.

@stale
Copy link

stale bot commented Apr 27, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issues that became stale label Apr 27, 2023
@stale
Copy link

stale bot commented May 23, 2023

This issue has been automatically closed becuase it has not had recent activity.

@stale stale bot closed this as completed May 23, 2023
@Conor-Hinchee Conor-Hinchee linked a pull request Jul 18, 2023 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues that became stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants