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

[Menu]: 节点的子级节点无法展开 #822

Closed
nullptr-z opened this issue May 12, 2022 · 1 comment
Closed

[Menu]: 节点的子级节点无法展开 #822

nullptr-z opened this issue May 12, 2022 · 1 comment
Assignees

Comments

@nullptr-z
Copy link
Collaborator

描述错误

展开子节点时高度过长,出现了拉伸

示例

const Demo = () => (
  <Row justify="flex-start" gutter={10}>
    <Col fixed>
      <Menu bordered>
        <Menu.Divider title="编辑" />
        <Menu.SubMenu icon="setting-o" text="选项">
          <Menu.Item icon="dot-chart" text="显示边栏" />
          <Menu.Item icon="date" text="添加日期" />
          <Menu.Item icon="tags-o" text="标签名称" />
        </Menu.SubMenu>
        <Menu.SubMenu icon="bar-chart" text="月统计报表导出">
          <Menu.Item icon="copy" text="拷贝" />
          <Menu.SubMenu icon="bar-chart" text="报表">
            <Menu.Item icon="file-add" text="添加文件" />
            <Menu.SubMenu icon="folder-add" text="添加文件夹">
              <Menu.Item icon="file-add" text="添加文件" />
              <Menu.Item icon="folder-add" text="添加文件夹" />
            </Menu.SubMenu>
          </Menu.SubMenu>
        </Menu.SubMenu>
      </Menu>
    </Col>
  </Row>
)

错误复现

月统计报表导出>报表 下级无法展开了
image

桌面(请填写以下信息):

  • UIW:[例如 v4.13.4]
  • 操作系统:[例如 macOS]
  • 浏览器:[例如 火狐、Chrome、Safari]
  • 版本和构建:[例如 59.0.2(64 位)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants