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

Last item in stepper disappears when max-height is set on the steps div. #3060

Closed
arvind0598 opened this issue Nov 25, 2022 · 1 comment
Closed
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)

Comments

@arvind0598
Copy link

arvind0598 commented Nov 25, 2022

What package has an issue

@mantine/core

Describe the bug

My goal is to have a vertical stepper with the content on the right, and to have both sections be independently scrollable.
To do this, I've added max-height and overflow: auto to the steps div.

Expected:
It works properly!

Actual:
The last element keeps getting hidden - checked for many values of max height and steps.

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

5.8.2

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

https://codesandbox.io/s/gifted-satoshi-6pkv0p

Do you know how to fix the issue

Possibly related to max height and some display: flex oddities.

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

Yes

Possible fix

No response

@rtivital rtivital added help wanted Contributions from community are welcome and removed review required labels Nov 25, 2022
@rtivital rtivital added Fixed patch Completed issues that will be published with next patch (1.0.X) and removed help wanted Contributions from community are welcome labels Nov 28, 2022
@rtivital
Copy link
Member

Fixed in 5.8.4

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