Profile: Fix tab blinks (#4665)

This commit is contained in:
Alexander Zinchuk 2024-06-12 18:11:21 +02:00
parent 86ddd5bf0b
commit 5a13ba1ad2
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ const InfiniteScroll: FC<OwnProps> = ({
}
const { scrollHeight, clientHeight } = containerRef.current!;
if (clientHeight && scrollHeight <= clientHeight) {
if (clientHeight && scrollHeight < clientHeight) {
loadMoreBackwards();
}
}, [items, loadMoreBackwards, preloadBackwards]);

View File

@ -31,7 +31,7 @@
&-slideOptimizedBackwards,
&-slideOptimizedRtl,
&-slideOptimizedRtlBackwards {
transform: translate3d(0, 0, 0);
contain: strict;
#root & > .Transition_slide {
position: absolute;