tdesign-react icon indicating copy to clipboard operation
tdesign-react copied to clipboard

[Menu] SubMenu 支持默认打开参数以及打开状态控制

Open NWYLZW opened this issue 1 year ago • 2 comments

这个功能解决了什么问题

SubMenu 下的 MenuItem active 的情况需要展开对应父级菜单

你建议的方案是什么

添加几个参数

  • isExpand: boolean 更细的颗粒度控制
  • defaultIsExpand: boolean 基本需求
  • onExpand: (isExpand: boolean) => void 更细的颗粒度控制

NWYLZW avatar Aug 01 '22 03:08 NWYLZW

👋 @NWYLZW,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

github-actions[bot] avatar Aug 01 '22 03:08 github-actions[bot]

♥️ 有劳 @mingjiezhang @andyjxli 尽快确认问题。 确认有效后将下一步计划和可能需要的时间回复给 @NWYLZW 。

github-actions[bot] avatar Aug 01 '22 03:08 github-actions[bot]

这个 Issue 被标记为了过时 stale ,因为它已经持续 30 天没有任何活动了。删除 stale 标签或评论,否则将在 7 天内关闭。

github-actions[bot] avatar Aug 31 '22 06:08 github-actions[bot]

此 Issue 被自动关闭,因为它自被标记为过时 stale 以来已闲置 7 天。

github-actions[bot] avatar Sep 08 '22 06:09 github-actions[bot]