- Upgrade rc-animate to
3.x
- Use CSSMotion instead of Animate
- Support overflow collapse menu
- Add
expandIcon
anditemIcon
. #182
- Better aria-* attributes support.
- Improve Menu performance by avoiding unnecessary updates.
- Minor key shortcut bug fixes.
- Support passing props through to MenuItem list item
- Replace openSubMenuOnMouseEnter/closeSubMenuOnMouseLeave with triggerSubMenuAction
- Add subMenuCloseDelay and subMenuOpenDelay
- Refactor with rc-trigger
- Add dom for submenu arrow
- remove onOpen/onClose, support onOpenChange(openKeys: string[])
- support submenu-selected
- make submenu active only title is hovered when inline
- add onMouseEnter/onTitleMouseLeave/onTitleClick/...
- use es6 export
- add keyPath to onOpen/onClose argument info
- add keyPath to onClick argument info
- does not hide submenu when click(use onClick to set openKeys to [] if you want)
- add openAnimation/openTransitionName prop
- make selectedKeys openedKeys controllable
- add closeSubMenuOnMouseLeave/onOpen/onClose props
- remove openOnHover for SubMenu
- add openSubMenuOnMouseEnter prop for Menu
- add props: mode (horizontal, vertical, inline) for Menu
- add defaultSelectedKeys, make selectedKeys controllable
- change param of onSelect onDeselect
add props: vertical/horizontal for Menu, align for SubMenu
improved
#9 allow not set key for menuitem
new
#10 support MenuItemGroup
new
add Menu.Divider Component
improved
#5 support selected and disabled for menuitem simultaneously
support react 0.13 and es6
new
#3 support scrollIntoView if menu is scrollable
new
#2 support multiple prop and onDeselect callback