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 issues on switch inner labels #4515

Closed
CripyIce opened this issue Jul 7, 2023 · 1 comment
Closed

RTL issues on switch inner labels #4515

CripyIce opened this issue Jul 7, 2023 · 1 comment

Comments

@CripyIce
Copy link

CripyIce commented Jul 7, 2023

What package has an issue

@mantine/core

Describe the bug

Using inner labels on Switch with RTL has UI bugs.
Code:

<Switch size="xl" onLabel="טופל" offLabel="לא טופל" />

Screenshot 2023-07-07 at 16 13 07
image
Don't mind the button below - he works great

It also seems like the width is changing, but perhaps it's normal due to the length of the text.

What version of @mantine/hooks page do you have in package.json?

6.0.16

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

No

Possible fix

No response

@rtivital
Copy link
Member

Fixed in 6.0.17

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