mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-22 05:11:55 +01:00
Message List: Fix sending animation after forwarding
This commit is contained in:
parent
342ca92553
commit
a9e699e82f
@ -290,10 +290,8 @@ const MessageList: FC<OwnProps & StateProps> = ({
|
||||
const { height: windowHeight } = useWindowSize();
|
||||
|
||||
useEffect(() => {
|
||||
if (isReady) {
|
||||
containerRef.current!.dataset.normalHeight = String(containerRef.current!.offsetHeight);
|
||||
}
|
||||
}, [windowHeight, isReady, canPost]);
|
||||
containerRef.current!.dataset.normalHeight = String(containerRef.current!.offsetHeight);
|
||||
}, [windowHeight, canPost]);
|
||||
|
||||
// Initial message loading
|
||||
useEffect(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user