File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ class Demo extends React.Component {
259
259
choiceTransitionName = "rc-tree-select-selection__choice-zoom"
260
260
style = { { width : 300 } }
261
261
// dropdownStyle={{ height: 200, overflow: 'auto' }}
262
- dropdownAlign = { {
262
+ popupAlign = { {
263
263
overflow : { adjustY : 0 , adjustX : 0 } ,
264
264
offset : [ 0 , 2 ] ,
265
265
} }
@@ -327,7 +327,7 @@ class Demo extends React.Component {
327
327
< h2 > Testing in extreme conditions (Boundary conditions test) </ h2 >
328
328
< TreeSelect
329
329
style = { { width : 200 } }
330
- dropdownStyle = { { maxHeight : 200 , overflow : 'auto' } }
330
+ popupStyle = { { maxHeight : 200 , overflow : 'auto' } }
331
331
defaultValue = "leaf1"
332
332
multiple
333
333
treeCheckable
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ function Demo() {
86
86
placeholder = { < span > Please Select</ span > }
87
87
transitionName = "rc-tree-select-dropdown-slide-up"
88
88
style = { { width : 300 } }
89
- dropdownStyle = { { maxHeight : 200 , overflow : 'auto' , zIndex : 1500 } }
89
+ popupStyle = { { maxHeight : 200 , overflow : 'auto' , zIndex : 1500 } }
90
90
showSearch
91
91
allowClear
92
92
{ ...iconProps }
@@ -99,7 +99,7 @@ function Demo() {
99
99
placeholder = { < span > Please Select</ span > }
100
100
transitionName = "rc-tree-select-dropdown-slide-up"
101
101
style = { { width : 300 } }
102
- dropdownStyle = { { maxHeight : 200 , overflow : 'auto' , zIndex : 1500 } }
102
+ popupStyle = { { maxHeight : 200 , overflow : 'auto' , zIndex : 1500 } }
103
103
showSearch
104
104
allowClear
105
105
{ ...iconPropsFunction }
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ class Demo extends React.Component {
82
82
< h2 > use treeDataSimpleMode</ h2 >
83
83
< TreeSelect
84
84
style = { { width : 300 } }
85
- dropdownStyle = { { maxHeight : 200 , overflow : 'auto' } }
85
+ popupStyle = { { maxHeight : 200 , overflow : 'auto' } }
86
86
placeholder = { < i > 请下拉选择</ i > }
87
87
treeLine
88
88
maxTagTextLength = { 10 }
Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ describe('TreeSelect.basic', () => {
62
62
it ( 'renders tree correctly' , ( ) => {
63
63
const wrapper = mount (
64
64
< TreeSelect
65
- dropdownClassName = "awesome"
66
- dropdownStyle = { { width : 300 } }
65
+ popupClassName = "awesome"
66
+ popupStyle = { { width : 300 } }
67
67
multiple
68
68
treeCheckable
69
69
treeDefaultExpandAll
You can’t perform that action at this time.
0 commit comments