Commit Graph

35 Commits

Author SHA1 Message Date
zombieJ
bef491ecc9
fix: Menu defaultOpenKeys not work as expect (#15970)
* Remove animation on first render

* update test cas
2019-04-09 16:39:33 +08:00
zombiej
9f3c357053 add test case 2019-04-08 22:20:18 +08:00
zombieJ
89dd827b7f
fix: Refactor Menu related components life cycle methods (#15868)
* use state instead

* rollback demo markdown

* clean test

* sider context should be clean

* update test case

* fix test

* update debug desc

* add siderCollapsed into omit

* rm useless code
2019-04-05 16:15:01 +08:00
zy410419243
ae8b52c290 fix: MenuItem should not render Tooltip when inlineCollapsed is false 2019-03-28 10:55:26 +08:00
zy410419243
2aca6fc51a pref(Menu): instance() => simulate 2019-03-25 21:48:18 +08:00
zy410419243
5e1531e50d test: update cases for Menu 2019-03-25 21:48:17 +08:00
zy410419243
5362d57265 test: update case 2019-03-25 19:07:22 +08:00
zy410419243
f9d01eeb99 test: update cases for using Menu with Layout.Sider 2019-03-14 21:04:13 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
zombieJ
d366886dcb add title support in menu item (#12952)
* add title support in menu item

* hide title when inlineCollapsed

* fix typo
2018-11-20 23:26:40 +08:00
afc163
5e12b0a5ca Fix Menu Submenu animation when switch inlineCollapsed, close #12864 2018-10-30 15:09:40 +08:00
picodoth
f0bedb2176 fix: tests 2018-09-02 19:21:03 +08:00
HeskeyBaozi
9893fec5f1 fix rc-menu test case 2018-08-24 12:28:51 +08:00
Wei Zhu
c696757793 Revert "fix test"
This reverts commit f1570c01ea.

Follow f1570c01ea
2018-07-17 22:22:16 +08:00
picodoth
f1570c01ea fix test 2018-07-14 13:05:36 +08:00
hank
5be1b9c33c Fix issue #8666 (#10739)
* fix issue #8666

* add issue #8666 test
2018-06-01 18:09:11 +08:00
Junbin Huang
3a3d550b54 chore: upgrade menu (#10305)
* chore: upgrade menu and select

* Add test case for coverage percent
2018-04-29 23:01:58 +08:00
afc163
7d082c1dc5 Fix submenu popup issue when specified unexisted defaultOpenKeys
close #8475
2017-12-17 19:11:56 +08:00
afc163
1e1c6d1c72 Merge branch 'master' into antd-3.0 2017-11-16 19:58:20 +08:00
afc163
46d1296045 Fix async test cases 2017-11-16 17:12:36 +08:00
Wei Zhu
55c85f77a1
Update dependendies (#8150)
* deps: upgrade rc-menu, and close: #2837

* test: update snapshots

* Update rc-calendar

* Update rc-cascader

* Update rc-dialog

* Update dropdown

* Update rc-select@7.1.0

* Update rc-slider

* Update rc-time-picker

* Update rc-tooltip

* Update rc-tree-select

* Mock rc-trigger and Portal

* Fix animation warning when inlineCollapsed changes

* fix: should use SubMenu[popupClassName]

* Fix typescript error

* Fix lint

* fix: style for menu

* Mock rc-trigger for React 15

* Remvoe allow_failures
2017-11-11 00:07:03 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
jiang
24f58c20e1 fix menu-anim (#6955)
* fix menu-anim

* fix menu-anim

* update

* remove space

* fix test

* Improve code style

* submeu-title use color transition

* sync motion-collapse time

* snyc padding
2017-07-27 19:43:45 +08:00
afc163
fda881cc7a trailing spaces 2017-07-07 19:45:59 +08:00
偏右
b653a2c055 Merge branch 'master' into feature-2.12 2017-07-07 19:41:37 +08:00
afc163
f2268c2877 Fix test case for menu 2017-07-07 17:15:29 +08:00
afc163
8945bb5da6 Add test case for menu 2017-07-07 16:51:06 +08:00
afc163
b6011d7a39 typo 2017-07-01 14:04:26 +08:00
afc163
50e37796b8 Add test case 2017-06-30 23:08:11 +08:00
Wei Zhu
675e037e7a Remove only... 2017-03-28 17:16:15 +08:00
afc163
d8403718f9 Add test case for #4876 2017-02-15 18:00:20 +08:00
afc163
4cbcc05b02 Fix openKeys is not working when mode is switched, close #4876 2017-02-15 16:24:56 +08:00
afc163
bb54dce712 Add test case for Menu openKeys undefined bug
ref #4677 and #4692
2017-01-23 19:10:50 +08:00
偏右
0a68959207 Fix openKeys and defaultOpenKeys of Menu, close #3783 (#4609) 2017-01-16 21:13:59 +08:00