ant-design / ant-design/pro-components

🐛[BUG] ProLayout 在展开子菜单的情况下,收缩侧边拦, 会看到菜单箭头一闪而过

Open
#8,097 0 comments 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

ProLayout 是ProComponents特别重要的组件,也是UMI默认的Layout。相当于ProComponents的门脸,细节非常重要,望大佬们能够重视这个控件,在优化下。

问题:ProLayout 在展开二级菜单的情况下,收缩侧边拦, 会看到菜单箭头一闪而过
![image](https://github.com/ant-design/pro-components/assets/100838736/e6fc3327-417f-4528-aa22-eefe7c18bd9a)

以下是收缩侧边拦,逐帧截屏
![image](https://github.com/ant-design/pro-components/assets/100838736/c6273d10-471d-43f8-a4f1-a335af027e5b)
箭头由黑色逐步变浅,菜单完全展开后消失
![image](https://github.com/ant-design/pro-components/assets/100838736/5d6050bf-2f75-4fb9-9e61-95b89c2e40ec)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in ProLayout with a second-level submenu expanded, then collapse the sidebar and inspect the arrow transition shown in the report. Done means the menu arrow does not briefly appear or fade during collapse while the submenu remains expanded.

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.