Currently the the Layout.Sider allows specifying both - className and width. Width is used to manually set the style width of the Sider's <Div/>
div component in expanded mode.
This works beautifully in most of the cases however if you want to have responsive design and control the width of the expanded state via className and @media
CSS selector - you will fail to. This is because because the collapse/expand mechanism always sets width that overrides the set className that would otherwise the CSS @media
selector.
The problem in couple of examples. If I set width to:
I would like to have additional property like disableCollapseWidthControl={true}
that will not control the width style of the Sider's <Div/>
, so could fine tune the siders width in various positions.
Other people having the same problem here on StackOverflow
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too