mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-27 04:45:08 +01:00
[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…
Reference in New Issue
Block a user