File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
components/vc-virtual-list Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -442,7 +442,9 @@ const List = defineComponent({
442
442
} ,
443
443
{ flush : 'post' } ,
444
444
) ;
445
-
445
+ const delayHideScrollBar = ( ) => {
446
+ scrollBarRef . value ?. delayHidden ( ) ;
447
+ } ;
446
448
return {
447
449
state,
448
450
mergedData,
@@ -457,11 +459,10 @@ const List = defineComponent({
457
459
sharedConfig,
458
460
scrollBarRef,
459
461
fillerInnerRef,
462
+ delayHideScrollBar,
460
463
} ;
461
464
} ,
462
- const delayHideScrollBar = ( ) => {
463
- scrollBarRef . value ?. delayHidden ( ) ;
464
- } ;
465
+
465
466
render ( ) {
466
467
const {
467
468
prefixCls = 'rc-virtual-list' ,
@@ -491,6 +492,7 @@ const List = defineComponent({
491
492
sharedConfig,
492
493
setInstance,
493
494
mergedData,
495
+ delayHideScrollBar,
494
496
} = this ;
495
497
return (
496
498
< div
You can’t perform that action at this time.
0 commit comments