Profile: Fix tab blinks (#4665)
This commit is contained in:
parent
86ddd5bf0b
commit
5a13ba1ad2
@ -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]);
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
&-slideOptimizedBackwards,
|
||||
&-slideOptimizedRtl,
|
||||
&-slideOptimizedRtlBackwards {
|
||||
transform: translate3d(0, 0, 0);
|
||||
contain: strict;
|
||||
|
||||
#root & > .Transition_slide {
|
||||
position: absolute;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user