Tencent / Tencent/tdesign-react
Menu组件submenu css max-height: 计算问题
Open
Nobody has claimed this yet.
🐞 bug
- Dominant language
- TypeScript
- Stars
- 965
- Forks
- 373
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 17
Description
tdesign-react 版本
^1.9.3
重现链接
No response
重现步骤
No response
期望结果
No response
实际结果
No response
框架版本
18.3.1
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the Menu component's submenu styling and reproducing the max-height calculation issue with tdesign-react ^1.9.3 and React 18.3.1, using the attached image as the only reported reference. Trace how the submenu height is calculated, then verify that the resulting submenu height matches its content without the reported layout problem.
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
- Needs clarification
- Newbie friendliness
- 25/100