-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
help wantedContributions from community are welcomeContributions from community are welcome
Description
Dependencies check up
- I have verified that I use latest version of all @mantine/* packages
What version of @mantine/* packages do you have in package.json?
7.17.8
What package has an issue?
@mantine/core
What framework do you use?
Next.js
In which browsers you can reproduce the issue?
Chrome
Describe the bug
We have a collapse component inside of a stack. In 7.17.7, when collapsed it is display: 'none',
when collapsed so there is no additional stack gap between the previous component in the stack and the hidden collapse. When expanded, the collapse content correctly has a gap between itself and the component above, since it is no longer display: 'none',
.
In 7.17.8, the collapse is no longer display: 'none',
when collapsed so there is now extra space at the bottom of the parent stack. I am pretty sure this was introduced in #7774.
Before:
After:
If possible, include a link to a codesandbox with a minimal reproduction
https://codesandbox.io/p/sandbox/mantine-react-template-forked-hc7kcc
Possible fix
Revert #7774 until this is addressed
Self-service
- I would be willing to implement a fix for this issue
Metadata
Metadata
Assignees
Labels
help wantedContributions from community are welcomeContributions from community are welcome