pl-fe: i hate all those workarounds
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -318,7 +318,7 @@ const Thread: React.FC<IThread> = ({
|
||||
offset: -146,
|
||||
});
|
||||
|
||||
setTimeout(() => statusRef.current?.querySelector<HTMLDivElement>('.detailed-actualStatus')?.focus(), 0);
|
||||
setTimeout(() => (node.current?.querySelector('.detailed-actualStatus') as HTMLDivElement)?.focus(), 100);
|
||||
}, 0);
|
||||
}, [status.id, ancestorsIds.length]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user