File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 43
43
"rc-animate" : " ^2.10.0" ,
44
44
"rc-trigger" : " ^2.6.5" ,
45
45
"rc-util" : " ^4.11.0" ,
46
- "rc-virtual-list" : " ^0.0.0-alpha.23 " ,
46
+ "rc-virtual-list" : " ^0.0.0-alpha.24 " ,
47
47
"warning" : " ^4.0.3"
48
48
},
49
49
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ import {
11
11
} from './interface' ;
12
12
import { RawValueType , FlattenOptionsType } from './interface/generator' ;
13
13
14
- // TODO: Not use virtual list if options count is less than a certain number
15
-
16
14
export interface OptionListProps < OptionsType extends object [ ] > {
17
15
prefixCls : string ;
18
16
id : string ;
@@ -224,6 +222,7 @@ const OptionList: React.RefForwardingComponent<
224
222
data = { flattenOptions }
225
223
height = { height }
226
224
itemHeight = { itemHeight }
225
+ fullHeight = { false }
227
226
onMouseDown = { onListMouseDown }
228
227
onScroll = { onScroll }
229
228
>
You can’t perform that action at this time.
0 commit comments