From 0c143e4aa8aa48972325cb1002ed900f74f9e2da Mon Sep 17 00:00:00 2001 From: Shlee Date: Thu, 16 Jul 2026 22:10:02 +0930 Subject: [PATCH] Update compose_panel.tsx to pass focusTarget to (#39843) --- .../mastodon/features/ui/components/compose_panel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/ui/components/compose_panel.tsx b/app/javascript/mastodon/features/ui/components/compose_panel.tsx index 838d1510ecc..a178e5f9647 100644 --- a/app/javascript/mastodon/features/ui/components/compose_panel.tsx +++ b/app/javascript/mastodon/features/ui/components/compose_panel.tsx @@ -71,7 +71,7 @@ export const RedirectToMobileComposeIfNeeded: React.FC = () => { useLayoutEffect(() => { if (shouldRedirect) { - history.push('/publish'); + history.push('/publish', { focusTarget: false }); } }, [history, shouldRedirect]);