Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix focus not returning to search icon
- Remove programmatic focusing already handled by focus-trap

Signed-off-by: Christopher Ng <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
  • Loading branch information
Pytal authored and nextcloud-command committed Jan 26, 2023
commit ad12f75798aa5df5c11c95110f422396c2449a6a
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