ant-design / ant-design/pro-components

After updating @ant-design/pro-components: ^2.8.1, @ant-design/pro-layout: ^7.4.0 and antd from ^5.2.3 to ^5.21.5, and also umi from ^3.5.23 to ^4.3.28, react from ^16.14.0 to 18.2.0 menu is not rendering in sideBar.

Open
#8,940 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### Reproduction link

[https://github.com/umijs/umi/issues/12822](https://github.com/umijs/umi/issues/12822)

### Steps to reproduce

After updating @ant-design/pro-components: ^2.8.1, @ant-design/pro-layout: ^7.4.0 and antd from ^5.2.3 to ^5.21.5, and also umi from ^3.5.23 to ^4.3.28, react from ^16.14.0 to 18.2.0 menu is not rendering in sideBar. Before it rendered for same code.

### What is expected?

Side Menu in prolayout need to render.

### What is actually happening?

Side Menu in prolayout was not rendering. In menuDataRender function the menuList is empty array. In menuDataRender function the menuList is empty array.

| Environment | Info |
| --- | --- |
| antd | 5.21.5 |
| React | 18.2.0 |
| System | Windows 10 Pro |
| Browser | Chrome 131.0.6778.205 |

Contributor guide

Open the contributing guide

Research direction

Start with the linked reproduction at github.com/umijs/umi/issues/12822 and inspect the ProLayout menuDataRender path. Compare the same code across the listed React, antd, Umi, and Pro Components versions, focusing on why menuList is empty. Done means the side menu renders for the reported environment without regressing the prior behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.