afc163
942ea41b02
update snapshot for new jest
7 years ago
afc163
95c72958ca
Fix AutoCompelete layout, close #7800
7 years ago
afc163
76a972e062
Fix AutoComplete snapshot
7 years ago
afc163
76a30a7686
Fix props passing of AutoComplete, ref #7742
7 years ago
afc163
ca255cc547
Tweak AutoComplete input line height
7 years ago
jayberg
4acadc47b5
Avoid circular reference with infinite children ( #7742 )
Because {element} is a child of <InputElement>, we get a circular reference when also adding "element.props" to <InputElement>, as <InputElement> will be cloned to <{element}> within InputElement.tsx. As a consequence, we get an infinitive circular loop of Element->Props->Children->Element->Props->Children->Element->Props->Children->…
React seems to detect and automatically fix this infinitive loop. But when using the smaller and faster Inferno as a replacement library of React, we get a "RangeError: Maximum call stack size exceeded".
This commit fixes this bug by not attaching {...element.props} to <InputElement>.
All tests did pass and I did not notice any changes in the behaviour of the AutoComplete component. But now, AutoComplete works also with Inferno and not only with React.
7 years ago
偏右
759b0bb821
seperate reset styles ( #7682 )
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
7 years ago
Wei Zhu
250c7a9c68
Revert "Mock rc-trigger"
This reverts commit 9d2c91598b
.
7 years ago
Wei Zhu
9d2c91598b
Mock rc-trigger
Ref #5522
7 years ago
Wei Zhu
bac4d04844
docs: typo
7 years ago
Wei Zhu
ad3e49e397
docs: Add backfill to AutoComplete
7 years ago
Benjy Cui
e061ada71a
test: fix CI
7 years ago
Benjy Cui
26d746bd8f
fix: should support child.ref in AutoComplete, close : #6814 ( #7237 )
7 years ago
neekey
7e522291c8
add unit `px` to all less value, make them explicit
7 years ago
Benjy Cui
2413c6af61
fix: make loading work with icon only button in button group, close : #6822
7 years ago
afc163
ca89227568
test: fix snapshot
7 years ago
afc163
81a8d71ec3
Fix Input className to wrapper, close #6809
7 years ago
Graeme Yeates
7b916da2ae
Use input-padding-horizontal to control autocomplete placeholder placing
8 years ago
afc163
14844eb0e0
Fix AutoComplete and Input Group vertical align issue
8 years ago
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
8 years ago
Mitchell Demler
fa44de3faa
refactor: rearrange AbstractSelectProps so that AutoCompleteProps has access to some needed SelectProps ( #6205 )
8 years ago
Benjy Cui
12a6060304
docs: fix code style
8 years ago
陆离
158536bbd9
Autocomplete height style fix ( #6059 )
+ close #6058
8 years ago
kossel
169e0f9762
fix: issue 5834, autocomplete is not being decorated ( #6018 )
8 years ago
afc163
9e018a7310
fix test case, #5999
8 years ago
afc163
290a779916
fix test case, #5999
8 years ago
RaoHai
650ab28b59
set filterOption to false
+ close #5860
8 years ago
Wei Zhu
07072fc3b1
docs: Document AutoComplete[onSearch]
Related: #5610
8 years ago
乐仪
50b7ce55fe
fix indent of AutoComplete
8 years ago
陆离
b694608af4
`onKeyDown` bug fix ( #5766 )
+ close #5487
8 years ago
Wei Zhu
dfaa647950
docs: Document AutoComplete[onSearch]
Related: #5610
8 years ago
陆离
fda4e8414d
Autocomplete clear icon bug ( #5636 )
+ close #5634
8 years ago
Benjy Cui
50f46d0919
feat: merge Select[multiple|tags|combobox] to Select[mode], close : #5471 ( #5534 )
8 years ago
Benjy Cui
84d65b3f66
refactor: simplify Select relative components' code
8 years ago
Qingrong Ke
8afc2e9e95
Fix 5322 ( #5379 )
* Input: fix #5322
* Refactor preSuffix to affix
* Update tests and demos
* Refactor preSuffix to affix
8 years ago
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
8 years ago
Benjy Cui
8f81594f91
Refactor: introduce injectLocale ( #5289 )
* refactor: extract injectLocale and refactor Pagination, ref: #5103
* refactor: use injectLocale in Popconfirm, ref: #5103
* refactor: use injectLocale in TimePicker
* refactor: use injectLocale in Transfer
* refactor: use injectLocale in TreeSelect
* refactor: remove useless code in AutoComplete
* test: update snapshot
8 years ago
afc163
7bc2b1dbff
fix AutoComplete extra box-shadow
8 years ago
afc163
a0cdce4d00
fix test case
8 years ago
afc163
24f9c24f48
Improve AutoComplete demo
8 years ago
afc163
d1483c16c8
Fix AutoComplete children typescript type, close #5170
8 years ago
Wei Zhu
e8ff1f25c4
Add snapshot
8 years ago
afc163
70e135ceb4
Fix AutoComplete alignment and height style in form item, close #5139
8 years ago
陆离
63ddf2fc8d
Add Demo for Certain Category ( #5105 )
+ close #5095
+ close #5135
+ support OptGroup of AutoComplete
8 years ago
Benjy Cui
7c564af6e4
Revert "css: adjust alignment in Select & AutoComplete, close: #5088"
This reverts commit c01f24750a
.
8 years ago
Benjy Cui
c01f24750a
css: adjust alignment in Select & AutoComplete, close : #5088
8 years ago
Benjy Cui
29ebf22529
docs: update docs for AutoComplete, close : #5006
8 years ago
陆离
01086d56e5
shoud not have border around button ( #4967 )
8 years ago
陆离
7a4080ec40
Fix some problems of AutoCompelete demo ( #4942 )
+ close #4912
8 years ago
Wei Zhu
eb29fdada3
docs: Rewrite AutoComplete demos to ES6 component
8 years ago