Message List: Fix history back transition

This commit is contained in:
Alexander Zinchuk 2021-12-10 18:33:06 +01:00
parent 17b6afb368
commit 175dbd52bf

View File

@ -256,7 +256,12 @@ const Transition: FC<TransitionProps> = ({
});
return (
<div ref={containerRef} id={id} className={buildClassName('Transition', className, name)} teactFastList>
<div
ref={containerRef}
id={id}
className={buildClassName('Transition', className, name)}
teactFastList={!shouldCleanup}
>
{contents}
</div>
);