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

Drawer animation direction doesn't change in rtl #4917

Closed
PPHelios opened this issue Sep 28, 2023 · 1 comment
Closed

Drawer animation direction doesn't change in rtl #4917

PPHelios opened this issue Sep 28, 2023 · 1 comment
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)

Comments

@PPHelios
Copy link

What package has an issue

@mantine/core

Describe the bug

Hi,
opening the drawer in while in rtl makes the opening animation starts from left to right , you can easily reproduce it on the mantine drawer website , change layout to rtl and open the drawer in the examples.

i used:
@mixin rtl{ transform-origin: right center !important; transform: translateX(0px)!important; }
on the drawer content className as a temporary fix.

What version of @mantine/* packages do you have in package.json? (Note that all @mantine/* packages must have the same version in order to work correctly)

7.1.0

If possible, please include a link to a codesandbox with the reproduced problem

No response

Do you know how to fix the issue

No

Are you willing to participate in fixing this issue and create a pull request with the fix

None

Possible fix

changing the transform animation values while in rtl

@rtivital rtivital added the TBD It is clear how to fix the issue and the fix will be provided soon label Sep 29, 2023
@rtivital rtivital added Fixed patch Completed issues that will be published with next patch (1.0.X) and removed TBD It is clear how to fix the issue and the fix will be provided soon labels Oct 2, 2023
@rtivital
Copy link
Member

rtivital commented Oct 2, 2023

Fixed in 7.1.1

@rtivital rtivital closed this as completed Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)
Projects
None yet
Development

No branches or pull requests

2 participants