ant-design / ant-design/pro-components

🐛[BUG] pro layout 菜单收缩时样式错误

Open
#7,662 0 comments 1 reaction 0 assignees View on GitHub
🎨 By Design 🧱 antd
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### 🐛 bug 描述

收缩后的菜单宽度如果有滚动条会覆盖图标

### 📷 复现步骤
当菜单多于浏览器视口高度时会出现滚动条

image

这时点击收缩

image

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the pro layout with a menu taller than the browser viewport, then collapse it and inspect the menu styles around the scrollbar and icons. Done means the collapsed menu keeps its icons visible without scrollbar overlap; no specific file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
design, 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.