From df75fd9ca43beb12ad643a96bc98f6fc6fab21f9 Mon Sep 17 00:00:00 2001 From: diondiondion Date: Mon, 5 Oct 2026 13:06:32 +0000 Subject: [PATCH] Redesign: Fix post being opened by dismissing the post menu on mobile (#40863) --- app/javascript/mastodon/components/status/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/components/status/hooks.ts b/app/javascript/mastodon/components/status/hooks.ts index d6e32bf44c5..6ed0e66ab7d 100644 --- a/app/javascript/mastodon/components/status/hooks.ts +++ b/app/javascript/mastodon/components/status/hooks.ts @@ -163,7 +163,7 @@ export function useStatusHandlers({ const target = event.target; if ( !(target instanceof HTMLElement) || - target.closest('a, button') || + target.closest('a, button, dialog') || contextType === 'detailed' || window.getSelection()?.type === 'Range' ) {