Skip to content

Commit ce55b07

Browse files
committed
Tab order is correct when opening settings menu with keyboard shortcut
1 parent 17b07e0 commit ce55b07

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/components/SettingsMenu.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ onKeyStroke(',', e => {
3939
return
4040
}
4141
e.preventDefault()
42-
toggle()
42+
triggerRef.value?.focus()
43+
triggerRef.value?.click()
4344
})
4445
</script>
4546

0 commit comments

Comments
 (0)