afc163
726f0466bc
menu should be unfocusable defaultly
7 years ago
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
7 years ago
afc163
5dfb114842
fix dropdown transitionName
7 years ago
cjahv
557f7a02f6
DropDownProps trigger add contentMenu ( #8793 )
* 下拉菜单的trigger添加contentMenu
DropDownProps trigger add contentMenu
* fix spelling mistakes
7 years ago
Wei Zhu
427be4cff5
Remove unused style property
7 years ago
afc163
81472aaf3b
Fix custom filter dropdown focus issue, close #8411
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
afc163
3ceda311b6
menu cannot be selectable in dropdown defaultly
7 years ago
John Nguyen
3b6ea67115
adds className to DropDown component" ( #7378 )
7 years ago
Benjy Cui
e0bf1cefe7
fix: disabled of Dropdown, ref: #7102
7 years ago
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
7 years ago
afc163
4c52ccaff9
Fix Dropdown menu width, close #7124
7 years ago
afc163
144c67f054
Fix dropdown menu position bug
7 years ago
newraina
1d63de1106
fix Dropdown.Button's type definition
8 years ago
afc163
0c88ec2f38
Fix warning path
8 years ago
afc163
10a2d82731
Fixed mode of Menu inside Dropdown, close #6101
8 years ago
HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
8 years ago
afc163
849c5fbf75
Fix getPopupContainer ts type
8 years ago
afc163
322e9efdc9
Fix getPopupContainer ts type
8 years ago
afc163
d1b91bcc99
Fix direction of pop animation for Dropdown, ref #4811
8 years ago
Benjy Cui
1351b5da5d
refactor: remove splitObject
8 years ago
邦
80ea247fa9
fix(Dropdown): onVisibleChange param. ( #4252 )
* fix(Dropdown): onVisibleChange param.
* doc(Dropdown): update onVisibleChange argument
8 years ago
afc163
89cf3a88e6
only icon down under Dropdown has smaller size, close #4023
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago
afc163
363f610d8b
Fix tsc errors beside DatePicker
8 years ago
陆离
ff765002fa
refactor: rewrite form and dropdown in ts ( #2683 )
8 years ago
Benjy Cui
978b9f98e7
refactor: table ts ( #2664 )
* refactor: table ts
* fix: should pass context to onChange correctly
8 years ago
afc163
877239bfe5
fix Unused import
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
Bruce Mitchener
273e527201
Use static class members for propTypes and friends.
9 years ago
Bruce Mitchener
63c06e8652
Use ES2015 classes instead of React.createClass.
Make Breadcrumb, Checkbox, Dropdown, Steps and Timeline
components use ES2015 classes rather than React.createClass.
This includes:
* getDefaultProps method becomes a defaultProps value on the
constructor.
* propTypes becomes a value on the constructor.
9 years ago
afc163
e17b5f599f
Add hover delay for Dropdown
9 years ago
afc163
1e001d2d82
upgrade eslint-config-airbnb
9 years ago
afc163
ba51e65c3d
Add animation for dropdown submenu, ref #797
9 years ago
afc163
2923cd8799
Add dropdown button
9 years ago
yiminghe
052e8ee0f4
upgrade
9 years ago
ustccjw
b34269a6b1
use es6 module import/export
convert var to const
fix bug
fix bug
fix for jshint
fix import
9 years ago
ustccjw
41c35903a4
remove use strict
9 years ago
yiminghe
d1ad214d73
update dropdown
9 years ago
yiminghe
73d89f46af
update motion
10 years ago
yiminghe
90241a7efe
fix prefixCls
10 years ago
afc163
55041219f2
Add eslint, close #14
10 years ago
afc163
e278f63d2b
update dropdown
10 years ago
yiminghe
ac2899efbb
add dropdown
10 years ago