ant-design / ant-design/pro-components
🐛[BUG] ProLayout Bug, 当显示的菜单不是浮现的Tips二级菜单的时候,展开收起该二级菜单,原本隐藏的Tips二级菜单又显示出来了
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
🐛[BUG] ProLayout Bug, 当显示的菜单不是浮现的Tips二级菜单的时候,展开收起该二级菜单,原本隐藏的Tips二级菜单又显示出来了
https://github.com/ant-design/pro-components/assets/29336835/95a67e69-1a50-4fb9-a619-1186368727b7
重现步骤:
打开官网demo
https://procomponents.ant.design/~demos/packages-layout-src-components-layout-tab-api-demo-sidermode

选择欢迎菜单, 目前显示的欢迎菜单

收起侧边栏,显示Tips菜单

展开收起该二级菜单,原本隐藏的Tips二级菜单又显示出来了

Contributor guide
Research direction
Start with the ProLayout sider-mode demo linked in the issue and reproduce the behavior using the Welcome menu, a collapsed sidebar, and the Tips submenu. Trace the ProLayout menu entry point responsible for expanding and collapsing secondary menus; done means the previously hidden Tips submenu stays hidden after toggling the displayed submenu.
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
- 45/100