From 09fd564af966dc0d5daa45afd5ca6c527583586f Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Sun, 19 Nov 2017 20:33:34 -0600 Subject: [PATCH] feat: upgrade rc-menu (#8235) --- components/menu/index.en-US.md | 1 + components/menu/index.zh-CN.md | 1 + package.json | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/menu/index.en-US.md b/components/menu/index.en-US.md index 3acfbdee6e..769fcb7acc 100644 --- a/components/menu/index.en-US.md +++ b/components/menu/index.en-US.md @@ -46,6 +46,7 @@ More layouts with navigation: [layout](/components/layout). | onSelect | callback executed when a menu item is selected | function({ item, key, selectedKeys }) | none | | subMenuOpenDelay | delay time to show submenu when mouse enter, unit: second | number | 0 | | subMenuCloseDelay | delay time to hide submenu when mouse leave, unit: second | number | 0.1 | +| forceSubMenuRender | render submenu into DOM before it shows | boolean | false | > More options in [rc-menu](https://github.com/react-component/menu#api) diff --git a/components/menu/index.zh-CN.md b/components/menu/index.zh-CN.md index a5cb9ffadc..0b04ea47c5 100644 --- a/components/menu/index.zh-CN.md +++ b/components/menu/index.zh-CN.md @@ -46,6 +46,7 @@ subtitle: 导航菜单 | onSelect | 被选中时调用 | function({ item, key, selectedKeys }) | 无   | | subMenuOpenDelay | 用户鼠标进入子菜单后开启延时,单位:秒 | number | 0 | | subMenuCloseDelay | 用户鼠标离开子菜单后关闭延时,单位:秒 | number | 0.1 | +| forceSubMenuRender | 在子菜单展示之前就渲染进 DOM | boolean | false | > More options in [rc-menu](https://github.com/react-component/menu#api) diff --git a/package.json b/package.json index f7c8e75bca..00ddb3f77d 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "rc-editor-mention": "^1.0.2", "rc-form": "~2.0.0", "rc-input-number": "~4.0.0", - "rc-menu": "~6.1.0", + "rc-menu": "~6.2.0", "rc-notification": "~3.0.0", "rc-pagination": "~1.12.4", "rc-progress": "~2.2.2",