From dcb6113eb7ce654432a91061a06ca6863740e7ea Mon Sep 17 00:00:00 2001 From: Athou Date: Wed, 9 Apr 2025 14:30:36 +0200 Subject: [PATCH] set focus to slider when the dialog opens to ease keyboard navigation --- commafeed-client/src/components/header/MarkAllAsReadButton.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/commafeed-client/src/components/header/MarkAllAsReadButton.tsx b/commafeed-client/src/components/header/MarkAllAsReadButton.tsx index 65ad43fb..6be43aa6 100644 --- a/commafeed-client/src/components/header/MarkAllAsReadButton.tsx +++ b/commafeed-client/src/components/header/MarkAllAsReadButton.tsx @@ -65,6 +65,7 @@ export function MarkAllAsReadButton(props: { iconSize: number }) { ]} value={threshold} onChange={setThreshold} + data-autofocus />