ant-design / ant-design/pro-components
🐛[BUG]移动端点击展开的抽屉菜单,左上角 title 和 logo 显示异常
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug 描述
移动端点击展开的抽屉菜单,左上角 title 和 logo 显示异常,暗黑模式title颜色未更新成白色
### 📷 复现步骤
```
//ProLayout设置这两个属性可复现
menuHeaderRender={(logo,title)=> <>{logo}{title}}
navTheme='realDark'
```
### 🏞 期望结果
title 和 logo 正常显示
### © 版本信息
- ProComponents 版本: [2.6.11]
- 浏览器环境 Google Chrome 115.0.5790.171
- 开发环境 [windows 10]
### 🚑 其他信息
####v2.6.6版本开始出现


####期望结果

Contributor guide
Research direction
Start at the ProLayout entry point and reproduce the issue using the supplied menuHeaderRender and navTheme='realDark' settings on mobile. Done means the drawer shows the title and logo normally, with the title rendered white in dark mode; no file or test is named in the issue.
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
- 42/100