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

environments/review-thread-lin-6k63it/deployments/3348
Alex Gleason 2023-05-08 10:39:25 -05:00
rodzic 0f65c7bd7e
commit f290ca85e3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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());