Skip to content

Commit

Permalink
Merge pull request #36370 from nextcloud/fix/search-focus
Browse files Browse the repository at this point in the history
  • Loading branch information
Pytal authored Jan 26, 2023
2 parents c9dcc0f + f6f4c62 commit 6d35424
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions core/src/views/UnifiedSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ export default {
if (event.ctrlKey && event.key === 'f' && !this.open) {
event.preventDefault()
this.open = true
this.focusInput()
}
// https://www.w3.org/WAI/GL/wiki/Using_ARIA_menus
Expand All @@ -374,7 +373,6 @@ export default {
methods: {
async onOpen() {
this.focusInput()
// Update types list in the background
this.types = await getTypes()
},
Expand Down
Loading

0 comments on commit 6d35424

Please sign in to comment.