Merge branch 'thread-scrolltop' into 'develop'

Thread: scroll into view accounting for sticky column header

See merge request soapbox-pub/soapbox!2449
This commit is contained in:
Alex Gleason 2023-04-19 13:13:03 +00:00
commit ec903a984d

View file

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