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

Dropdown drop-down menu component, sub-menu automatically breaks #5798

Closed
1 task
xy-wind opened this issue Jul 11, 2022 · 2 comments
Closed
1 task

Dropdown drop-down menu component, sub-menu automatically breaks #5798

xy-wind opened this issue Jul 11, 2022 · 2 comments
Labels

Comments

@xy-wind
Copy link

xy-wind commented Jul 11, 2022

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

https://codesandbox.io/s/4csy7t

Dropdown下拉菜单组件有多级菜单时,在显示子级菜单会自动断行。即使是只有2个中文字符也会断行。
在最新的版本3.2.10,官方的多级菜单示例也有这个现象。
https://www.antdv.com/components/dropdown-cn#components-dropdown-demo-sub-menu

显示子级菜单时,是否可以不自动断行。

What does the proposed API look like?

ant-design-vue: 3.2.5
vue:3.2.33
chrome:103.0.5060.114
os:windows 10

@github-actions github-actions bot changed the title Dropdown 下拉菜单组件,子级菜单自动断行 Dropdown drop-down menu component, sub-menu automatically breaks Jul 11, 2022
@xy-wind
Copy link
Author

xy-wind commented Jul 11, 2022

测试了一下其它浏览器,在最新的Microsoft Edge 103.0.1264.49 中,子菜单也会自动断行。

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant