Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu 中的 inlineIndent 缩进对 MenuGroupItem 不生效 #48928

Open
mytharcher opened this issue May 14, 2024 · 3 comments
Open

Menu 中的 inlineIndent 缩进对 MenuGroupItem 不生效 #48928

mytharcher opened this issue May 14, 2024 · 3 comments
Labels
improvement improve some features

Comments

@mytharcher
Copy link

image

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 对包含 group 类型 items 的 Menu 设置 inlineIndent 属性为 100

What is expected?

分组标题也按 inlineIndent 的值分层缩进。

What is actually happening?

分组的标题没有缩进。

Environment Info
antd 5.17.2
React 18.0.0
System macOS 12
Browser Chrome 120
@MadCcc
Copy link
Member

MadCcc commented May 15, 2024

Please make your codesandbox public

@MadCcc MadCcc added the 🤔 Need Reproduce We cannot reproduce your problem label May 15, 2024
Copy link
Contributor

Hello @mytharcher. Please provide a online reproduction by forking codesandbox of antd@5.x or antd@4.x, or provide a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 3 days.

你好 @mytharcher,我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 antd@5.xantd@4.x 的 codesandbox,或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。

什么是最小化重现,为什么这是必需的?

@mytharcher
Copy link
Author

@MadCcc Sorry for that. Done.

@MadCcc MadCcc added improvement improve some features and removed 🤔 Need Reproduce We cannot reproduce your problem unconfirmed labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement improve some features
Projects
None yet
Development

No branches or pull requests

2 participants