forked from Archives/Athou_commafeed
set focus to slider when the dialog opens to ease keyboard navigation
This commit is contained in:
@@ -65,6 +65,7 @@ export function MarkAllAsReadButton(props: { iconSize: number }) {
|
|||||||
]}
|
]}
|
||||||
value={threshold}
|
value={threshold}
|
||||||
onChange={setThreshold}
|
onChange={setThreshold}
|
||||||
|
data-autofocus
|
||||||
/>
|
/>
|
||||||
<Group justify="flex-end">
|
<Group justify="flex-end">
|
||||||
<Button variant="default" onClick={() => setOpened(false)}>
|
<Button variant="default" onClick={() => setOpened(false)}>
|
||||||
|
|||||||
Reference in New Issue
Block a user