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' ) {