File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -440,7 +440,6 @@ function Table<RecordType extends DefaultRecordType>(
440440
441441 const onInternalScroll = useEvent (
442442 ( { currentTarget, scrollLeft } : { currentTarget : HTMLElement ; scrollLeft ?: number } ) => {
443- const isRTL = direction === 'rtl' ;
444443 const mergedScrollLeft =
445444 typeof scrollLeft === 'number' ? scrollLeft : currentTarget . scrollLeft ;
446445
@@ -475,13 +474,6 @@ function Table<RecordType extends DefaultRecordType>(
475474 setShadowEnd ( false ) ;
476475 return ;
477476 }
478- // if (isRTL) {
479- // setPingedStart(-mergedScrollLeft < scrollWidth - clientWidth);
480- // setPingedEnd(-mergedScrollLeft > 0);
481- // } else {
482- // setPingedStart(mergedScrollLeft > 0);
483- // setPingedEnd(mergedScrollLeft < scrollWidth - clientWidth);
484- // }
485477 setShadowStart ( absScrollStart > 0 ) ;
486478 setShadowEnd ( absScrollStart < scrollWidth - clientWidth ) ;
487479 }
You can’t perform that action at this time.
0 commit comments