[dev] Better comments (#6841)
This commit is contained in:
parent
e98306c8b3
commit
dd86466db2
@ -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]);
|
||||
|
||||
|
||||
@ -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]);
|
||||
|
||||
|
||||
@ -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]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user