-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
feat(components): [menu] add popper-class
、subMenuTimeout
props
#15193
Conversation
👋 @zhixiaotong, seems like this is your first time contribution to element-plus.
|
Hello @zhixiaotong, thank you for contributing to element-plus, please see our guideline to see how to make contribution |
🧪 Playground Preview: https://element-plus.run/?pr=15193 |
Sorry to bother you. @kooriookami |
我命名参考了antd,虽然这个命名有点长吧,但如果只叫show/hide-timeout,会不会不太直观。比如应该是popper的timeout相关。
…---Original---
From: ***@***.***>
Date: Wed, Dec 20, 2023 17:59 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [element-plus/element-plus] feat(components): [menu] add `popper-class`、`subMenuTimeout` props (PR #15193)
@kooriookami requested changes on this pull request.
In docs/en-US/component/menu.md:
> +| sub-menu-show-timeout ^(2.4.5) | Control timeout for all sub menus before showing | `number` | — | 300 | +| sub-menu-hide-timeout ^(2.4.5) | Control timeout for all sub menus before hiding | `number` | — | 300 | ⬇️ Suggested change -| sub-menu-show-timeout ^(2.4.5) | Control timeout for all sub menus before showing | `number` | — | 300 | -| sub-menu-hide-timeout ^(2.4.5) | Control timeout for all sub menus before hiding | `number` | — | 300 | +| show-timeout ^(2.4.5) | Control timeout for all menus before showing | `number` | — | 300 | +| hide-timeout ^(2.4.5) | Control timeout for all menus before hiding | `number` | — | 300 |
In docs/en-US/component/menu.md:
> +| sub-menu-show-timeout ^(2.4.5) | Control timeout for all sub menus before showing | `number` | — | 300 | +| sub-menu-hide-timeout ^(2.4.5) | Control timeout for all sub menus before hiding | `number` | — | 300 |
Be short is better.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
The name style of EP is simplified. @chenxch |
Well... follow the design. |
@kooriookami @chenxch 麻烦看一下我提的另一个pr,因为工作中需要用到这种特性,就提了这个pr,谢谢啦。#15206 |
Please set the version tag to 2.5.0 |
2.5.0是一个占位符吗,方便批量替换成实际的版本? |
Nope, the next version is 2.5.0 , perhaps haha. |
Please make sure these boxes are checked before submitting your PR, thank you!
dev
branch.Description
copilot:summary
Related Issue
Fixes #15149.
Explanation of Changes
copilot:walkthrough