diff --git a/src/client/channel/components/ChannelSettingsDialog.tsx b/src/client/channel/components/ChannelSettingsDialog.tsx index 9312c5256..b24eac57e 100644 --- a/src/client/channel/components/ChannelSettingsDialog.tsx +++ b/src/client/channel/components/ChannelSettingsDialog.tsx @@ -28,7 +28,9 @@ export function ChannelSettingsDialog({ title, caption, compact = false, error = return ownerDocument && createPortal( { if (!event.currentTarget.open) onClose(); }}>
-
{caption &&

{caption}

}

{title}

+ {/* Start at the heading so automatic focus does not open an action's tooltip. */} +
{caption &&

{caption}

}

{ element?.setAttribute("autofocus", ""); }}>{title}

dialog.current?.close()} />