[Perf] Message List: Do not animate sticky dates when focusing
This commit is contained in:
parent
cc3e5edf30
commit
8e94228f9f
@ -283,7 +283,9 @@ const MessageList: FC<OwnProps & StateProps & DispatchProps> = ({
|
||||
|
||||
const container = containerRef.current!;
|
||||
|
||||
updateStickyDates(container, hasTools);
|
||||
if (!memoFocusingIdRef.current) {
|
||||
updateStickyDates(container, hasTools);
|
||||
}
|
||||
|
||||
runDebouncedForScroll(() => {
|
||||
fastRaf(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user