@@ -153,8 +153,9 @@ const OptionItem = (props: {
153
153
popoverTitle ?:string ;
154
154
draggable ?:boolean ;
155
155
optionExtra ?:React . ReactNode ;
156
+ scrollable ?:boolean ;
156
157
} ) => {
157
- const { content, config, title, popoverTitle, draggable= true , optionExtra} = props ;
158
+ const { content, config, title, popoverTitle, draggable= true , optionExtra, scrollable } = props ;
158
159
const [ visible , setVisible ] = useState ( false ) ;
159
160
const { attributes, listeners, setNodeRef, transform, transition} = useSortable ( {
160
161
id :config . dataIndex ,
@@ -182,6 +183,7 @@ const OptionItem = (props: {
182
183
setVisible = { ( vis ) => {
183
184
setVisible ( vis ) ;
184
185
} }
186
+ scrollable = { scrollable }
185
187
>
186
188
{ optionRow }
187
189
</ SimplePopover >
@@ -204,6 +206,7 @@ function Option<T extends ConstructorToComp<MultiCompConstructor>>(props: {
204
206
optionToolbar ?:React . ReactNode ;
205
207
headerItem ?:React . ReactNode ;
206
208
itemExtra ?:( comp :T ) => React . ReactNode ;
209
+ scrollable ?:boolean ;
207
210
} ) {
208
211
const { items, uniqVal, headerItem, optionToolbar, itemExtra} = props ;
209
212
const itemsDistinctValCount = uniqVal
@@ -286,6 +289,7 @@ function Option<T extends ConstructorToComp<MultiCompConstructor>>(props: {
286
289
title = { props . itemTitle ( item ) }
287
290
config = { { dataIndex :dataIndex } }
288
291
optionExtra = { optionExtra }
292
+ scrollable = { props . scrollable }
289
293
/>
290
294
) ;
291
295
} ) }