We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Shell
两侧布局时,左侧使用Shell.Navigation,右侧使用Shell.Content。左侧支持拉伸的场景,右侧宽度需要自适应。但目前Shell.Content内置容器 next-shell-sub-main: marginLeft写死的(按左侧初始宽度计算出来的)。希望可以支持受控,满足这个场景
The text was updated successfully, but these errors were encountered:
这是您为 Fusion/Next 提的第一个 issue,感谢您对 Fusion 的信任和支持,我们会尽快进行处理。
Sorry, something went wrong.
sub-main的marginLeft 会在 react componentDidUpdate过程重新计算,你可以利用这一点来让其自动更新。 不过我们更建议让左侧支持拉伸作为一个 feature 纳入到 shell 组件中,而非仅仅开放一个内部元素的 style 属性(会导致 api 过于臃肿),我们会将这个特性纳入到我们的规划中,不过优先级可能比较低,也欢迎你提供PR。
你好,该 issue 已 30 天没有活动,因此被标记为 stale,如果之后的 7 天仍然没有活动,该 issue 将被自动关闭
No branches or pull requests
Component
Shell
Feature Description
两侧布局时,左侧使用Shell.Navigation,右侧使用Shell.Content。左侧支持拉伸的场景,右侧宽度需要自适应。但目前Shell.Content内置容器 next-shell-sub-main: marginLeft写死的(按左侧初始宽度计算出来的)。希望可以支持受控,满足这个场景
The text was updated successfully, but these errors were encountered: