ant-design-blazor/blazor-pro-components

The pro template cannot control the folding and expansion of the left menu through variables.

Closed this issue · 5 comments

Facing the same problem. I think the code required is:

SiderWidth = Collapsed ? 48 : SiderWidth;
in blazor-pro-components\src\BasicLayout.razor.cs line 96. Unfortunately, couldn't create a pull request on my side for it.

Currently this component is a bit complicated, components within components. I think the innermost function has been realized. After setting up the fold, there should be a listener to execute the events in the inner layer. At present, only the variables are matched, but the innermost method is not supported.

This pro component has been rewritten by a guy. Hold on. Or you can see how to optimize this bug in this version.

问题解决了么

问题解决了