Composer: Delay only for shown and forwarding message (#4200)
This commit is contained in:
parent
12a825f1dc
commit
332f07ab75
@ -102,8 +102,8 @@ const ComposerEmbeddedMessage: FC<OwnProps & StateProps> = ({
|
||||
|| (sender && forwardedMessagesCount),
|
||||
);
|
||||
const canAnimate = useAsyncRendering(
|
||||
[isForwarding],
|
||||
isForwarding ? FORWARD_RENDERING_DELAY : undefined,
|
||||
[isShown, isForwarding],
|
||||
isShown && isForwarding ? FORWARD_RENDERING_DELAY : undefined,
|
||||
);
|
||||
|
||||
const {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user