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

Toolbar Position is Incorrect with direction: rtl #190

Open
MhL5 opened this issue Jan 16, 2025 · 1 comment
Open

Toolbar Position is Incorrect with direction: rtl #190

MhL5 opened this issue Jan 16, 2025 · 1 comment

Comments

@MhL5
Copy link

MhL5 commented Jan 16, 2025

image

When using the React Scan library with direction: rtl, the toolbar position is incorrect. If I drag the toolbar, it even goes outside of the page, and I have to clear localStorage to reset the position.

i have tried changing the direction of the toolbar to ltr but it didn't solve the problem

 #react-scan-toolbar,
 #react-scan-toolbar * {
   direction: ltr !important;
 }

Steps to Reproduce

* {
    direction: rtl;
  }
<html dir="rtl"> ... </html>
@RobPruzan
Copy link
Collaborator

@pivanov

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

2 participants