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

SegmentedControl bug after deploy #2454

Closed
alexbakers opened this issue Sep 15, 2022 · 5 comments
Closed

SegmentedControl bug after deploy #2454

alexbakers opened this issue Sep 15, 2022 · 5 comments
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)

Comments

@alexbakers
Copy link

What package has an issue

@mantine/core

Describe the bug

Hello,

Dev localhost yarn dev

image

image

After deployment yarn build

image

span element disappears after deployment.

image

while the switch works, but there is no color

Using http://vitejs.dev

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

^5.3.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

No response

Possible fix

No response

@rtivital
Copy link
Member

Hi @alexbakers, please make sure that you do not have any third-party libraries that override Mantine components styles. If that does not help, please provide a sandbox that reproduces the issue.

@alexbakers
Copy link
Author

Hi @alexbakers, please make sure that you do not have any third-party libraries that override Mantine components styles. If that does not help, please provide a sandbox that reproduces the issue.

Thank you for your quick response.

image

https://codesandbox.io/s/naughty-johnson-v5qzgx

@rtivital rtivital added the Fixed patch Completed issues that will be published with next patch (1.0.X) label Sep 15, 2022
rtivital added a commit that referenced this issue Sep 15, 2022
@rtivital
Copy link
Member

Thanks for reproduction, the issue is fixed in 5.3.2

@atumas-bananamilk
Copy link

I've just noticed this update doesn't work correctly if value is an integer.
Previously, in the 5.1.5 update it accepted both integers & strings.
This broke some things for us before we found out.
Just an FYI.

@rtivital
Copy link
Member

It is correct behavior, SegmentedControl works only with strings as values

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

3 participants