[dev] Better comments (#6841)

This commit is contained in:
zubiden 2026-04-14 14:36:27 +02:00 committed by Alexander Zinchuk
parent e98306c8b3
commit dd86466db2
3 changed files with 3 additions and 3 deletions

View File

@ -309,7 +309,7 @@ const ActionMessage = ({
return;
}
// Keep as is for now to avoid breaking appearance order
// Message appearance animation works only if this timeout is not cleared
setTimeout(markShown, appearanceOrder * MESSAGE_APPEARANCE_DELAY);
}, [appearanceOrder, noAppearanceAnimation]);

View File

@ -530,7 +530,7 @@ const Message = ({
return;
}
// Keep as is for now to avoid breaking appearance order
// Message appearance animation works only if this timeout is not cleared. Migrate to `sibling-index()` when baseline widely available.
setTimeout(markShown, appearanceOrder * MESSAGE_APPEARANCE_DELAY);
}, [appearanceOrder, noAppearanceAnimation]);

View File

@ -92,7 +92,7 @@ const SenderGroupContainer: FC<OwnProps & StateProps> = ({
return;
}
// Keep as is for now to avoid breaking appearance order
// Message appearance animation works only if this timeout is not cleared
setTimeout(markShown, appearanceOrder * MESSAGE_APPEARANCE_DELAY);
}, [appearanceOrder, noAppearanceAnimation]);