Thread: scroll into view accounting for sticky column header
This commit is contained in:
parent
1dea7b47c8
commit
de9e7b3c90
|
@ -403,7 +403,7 @@ const Thread: React.FC<IThread> = (props) => {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
scroller.current?.scrollToIndex({
|
scroller.current?.scrollToIndex({
|
||||||
index: ancestorsIds.size,
|
index: ancestorsIds.size,
|
||||||
offset: -80,
|
offset: -140,
|
||||||
});
|
});
|
||||||
|
|
||||||
setImmediate(() => statusRef.current?.querySelector<HTMLDivElement>('.detailed-actualStatus')?.focus());
|
setImmediate(() => statusRef.current?.querySelector<HTMLDivElement>('.detailed-actualStatus')?.focus());
|
||||||
|
|
Loading…
Reference in New Issue