Message: Fix autoscroll on last message in chat (#3116)
This commit is contained in:
parent
cdab35fd4d
commit
4406831e02
@ -675,7 +675,7 @@ const Message: FC<OwnProps & StateProps> = ({
|
||||
|| undefined;
|
||||
useAuthorWidth(ref, signature);
|
||||
|
||||
const shouldFocusOnResize = isLastInGroup;
|
||||
const shouldFocusOnResize = isLastInList;
|
||||
|
||||
const handleResize = useCallback((entry: ResizeObserverEntry) => {
|
||||
const lastHeight = messageHeightRef.current;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user