afc163
726f0466bc
menu should be unfocusable defaultly
2018-05-01 18:53:44 +08:00
Zheeeng
24e373a812
Remove span.ant-tag-text in Tag, and remove type casting in Dropdown ( #9055 )
...
* Remove span.ant-tag-text
Warp React.ReactNode with span element is not suggested. It may cause anti-specification problem: `<span><span>I'm spec breaker</span></span>`. span is not a general tags container.
Another benefit from this change is keeping the same structure with CheckableTag.
After inspecting the removing of the style of .ant-tag-text, seems bringing no problems. The old example employeed this css class has gone long long time ago. See: 0635877a51
* Use React.Children.only api to supress type casting
By codes, the children and the overlay of Dropdown must be **single** and **valid React.ReactElement**. React.Children.only takes it and report more friendly React internal built error messages.
* Revert hack CSS styles: filling .ant-tag's block area with orphan child anchor
2018-02-04 01:29:56 -06:00
afc163
5dfb114842
fix dropdown transitionName
2018-01-13 17:25:08 +08:00
cjahv
557f7a02f6
DropDownProps trigger add contentMenu ( #8793 )
...
* 下拉菜单的trigger添加contentMenu
DropDownProps trigger add contentMenu
* fix spelling mistakes
2017-12-31 18:21:06 +08:00
Wei Zhu
427be4cff5
Remove unused style property
2017-12-05 15:16:14 +08:00
afc163
81472aaf3b
Fix custom filter dropdown focus issue, close #8411
2017-12-03 19:09:39 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
afc163
96dd7132e8
Merge branch 'master' into feature-2.13
2017-08-30 13:22:38 +08:00
afc163
3ceda311b6
menu cannot be selectable in dropdown defaultly
2017-08-29 19:55:09 +08:00
John Nguyen
3b6ea67115
adds className to DropDown component" ( #7378 )
2017-08-29 13:27:38 +08:00
Benjy Cui
e0bf1cefe7
fix: disabled of Dropdown, ref: #7102
2017-08-16 17:56:07 +08:00
nikogu
7d49cc18a9
Merge branch 'master' into feature-2.13
2017-08-12 11:16:33 +08:00
Eden Wang
e633f91c27
Disabled Dropdown is showing Menu on hover ( #7102 )
...
* disabled dropdown is showing menu on hover
* fix cr error
* update snap
* update document
2017-08-11 23:55:36 +08:00
afc163
4c52ccaff9
Fix Dropdown menu width, close #7124
2017-08-07 21:27:08 +08:00
afc163
144c67f054
Fix dropdown menu position bug
2017-07-25 17:56:45 +08:00
newraina
1d63de1106
fix Dropdown.Button's type definition
2017-06-09 18:37:05 +08:00
afc163
0c88ec2f38
Fix warning path
2017-05-11 16:50:22 +08:00
afc163
10a2d82731
Fixed mode of Menu inside Dropdown, close #6101
2017-05-11 14:57:29 +08:00
HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
2017-03-28 13:20:05 +08:00
afc163
322e9efdc9
Fix getPopupContainer ts type
2017-03-21 16:35:31 +08:00
afc163
d1b91bcc99
Fix direction of pop animation for Dropdown, ref #4811
2017-02-09 15:45:51 +08:00
Benjy Cui
1351b5da5d
refactor: remove splitObject
2016-12-19 15:19:15 +08:00
邦
80ea247fa9
fix(Dropdown): onVisibleChange param. ( #4252 )
...
* fix(Dropdown): onVisibleChange param.
* doc(Dropdown): update onVisibleChange argument
2016-12-14 20:33:13 +07:00
afc163
89cf3a88e6
only icon down under Dropdown has smaller size, close #4023
2016-12-03 17:48:10 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
...
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
2016-09-19 10:17:07 +08:00
afc163
363f610d8b
Fix tsc errors beside DatePicker
2016-08-24 16:09:55 +08:00
陆离
ff765002fa
refactor: rewrite form and dropdown in ts ( #2683 )
2016-08-19 16:43:32 +08:00
Benjy Cui
978b9f98e7
refactor: table ts ( #2664 )
...
* refactor: table ts
* fix: should pass context to onChange correctly
2016-08-11 15:38:03 +08:00
afc163
877239bfe5
fix Unused import
2016-07-29 14:06:27 +08:00
afc163
71d74c30c1
Merge 1.x-stable
2016-07-29 13:57:54 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c
fix ts
2016-07-07 20:25:03 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00