diff --git a/src/components/ui/InfiniteScroll.tsx b/src/components/ui/InfiniteScroll.tsx index 993ebae68..7138704e8 100644 --- a/src/components/ui/InfiniteScroll.tsx +++ b/src/components/ui/InfiniteScroll.tsx @@ -110,7 +110,7 @@ const InfiniteScroll: FC = ({ } const { scrollHeight, clientHeight } = containerRef.current!; - if (clientHeight && scrollHeight <= clientHeight) { + if (clientHeight && scrollHeight < clientHeight) { loadMoreBackwards(); } }, [items, loadMoreBackwards, preloadBackwards]); diff --git a/src/components/ui/Transition.scss b/src/components/ui/Transition.scss index 3e5dc819e..ba42a3c31 100644 --- a/src/components/ui/Transition.scss +++ b/src/components/ui/Transition.scss @@ -31,7 +31,7 @@ &-slideOptimizedBackwards, &-slideOptimizedRtl, &-slideOptimizedRtlBackwards { - transform: translate3d(0, 0, 0); + contain: strict; #root & > .Transition_slide { position: absolute;