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({
442442 } ,
443443 { flush : 'post' } ,
444444 ) ;
445-
445+ const delayHideScrollBar = ( ) => {
446+ scrollBarRef . value ?. delayHidden ( ) ;
447+ } ;
446448 return {
447449 state,
448450 mergedData,
@@ -457,11 +459,10 @@ const List = defineComponent({
457459 sharedConfig,
458460 scrollBarRef,
459461 fillerInnerRef,
462+ delayHideScrollBar,
460463 } ;
461464 } ,
462- const delayHideScrollBar = ( ) => {
463- scrollBarRef . value ?. delayHidden ( ) ;
464- } ;
465+
465466 render ( ) {
466467 const {
467468 prefixCls = 'rc-virtual-list' ,
@@ -491,6 +492,7 @@ const List = defineComponent({
491492 sharedConfig,
492493 setInstance,
493494 mergedData,
495+ delayHideScrollBar,
494496 } = this ;
495497 return (
496498 < div
You can’t perform that action at this time.
0 commit comments