Thread: scroll up a little more on focus so the thread connector is visible

This commit is contained in:
Alex Gleason 2023-05-08 10:39:25 -05:00
parent 0f65c7bd7e
commit f290ca85e3
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ const Thread: React.FC<IThread> = (props) => {
useEffect(() => {
scroller.current?.scrollToIndex({
index: ancestorsIds.size,
offset: -140,
offset: -146,
});
setImmediate(() => statusRef.current?.querySelector<HTMLDivElement>('.detailed-actualStatus')?.focus());