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

Grid offset overwritten to 0 on all breakpoints by default #2556

Closed
TheRarita opened this issue Sep 26, 2022 · 2 comments
Closed

Grid offset overwritten to 0 on all breakpoints by default #2556

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

Comments

@TheRarita
Copy link

TheRarita commented Sep 26, 2022

What package has an issue

@mantine/core

Describe the bug

https://codesandbox.io/s/quirky-night-zjv0rj?file=/src/App.tsx

All offset values have defaulted now to 0 so it no longer works as min-width query, as documentation claims - https://mantine.dev/core/grid/?t=props.

In the sandbox you can see that the offset only shows on medium breakpoint, but returns to 0 on large.

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

5.4.1

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

https://codesandbox.io/s/quirky-night-zjv0rj?file=/src/App.tsx

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

Thanks for reporting

@rtivital rtivital added the Fixed patch Completed issues that will be published with next patch (1.0.X) label Oct 5, 2022
@rtivital
Copy link
Member

rtivital commented Oct 5, 2022

Fixed in 5.5.4

@rtivital rtivital closed this as completed Oct 5, 2022
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