diff --git a/app/soapbox/features/status/components/thread.tsx b/app/soapbox/features/status/components/thread.tsx index 9a9e5fe8c..1e0e79100 100644 --- a/app/soapbox/features/status/components/thread.tsx +++ b/app/soapbox/features/status/components/thread.tsx @@ -338,7 +338,7 @@ const Thread = (props: IThread) => { offset: -146, }); - setImmediate(() => statusRef.current?.querySelector('.detailed-actualStatus')?.focus()); + setTimeout(() => statusRef.current?.querySelector('.detailed-actualStatus')?.focus(), 0); }, [status.id, ancestorsIds.size]); const handleOpenCompareHistoryModal = (status: Status) => {