ant-design / ant-design/pro-components

🧐[问题]layout套menu组件污染了整体菜单样式

Open
#9,291 2 comments 0 reactions 0 assignees View on GitHub
layout
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### 🧐 问题描述
我在ant design提交的一个问题,我个人没有能力解决,现在antd那边3个多月也没啥进展,issue还在
特此寻求pro-components这边大佬支持

标准pro模板,增加menu组件,增加menu对应的菜单路由,打开浏览器,切换不同菜单,当切换到menu菜单时,整体样式被污染

https://github.com/ant-design/ant-design/issues/54299#issuecomment-3301458743

### 💻 示例代码

代码仓库:https://gitee.com/phoema/ant-design-pro-menu.git

### 🚑 其他信息
antd5.11.5 pro-components 2.6.21时正常
antd升级到5.25.2后,pro-components 2.6.21版本不变,不正常
antd升级到最新5.28.0,pro-components升级到2.8.10,依然不正常

Contributor guide

Open the contributing guide

Research direction

Start with the reproduction repository at gitee.com/phoema/ant-design-pro-menu.git and compare the reported Ant Design and pro-components version combinations. Reproduce the style pollution by switching between menu routes, then inspect the related Ant Design issue #54299 for context. Done means the overall menu styling remains unchanged when the menu component route is selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.