mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix focus not returning to search icon
- Remove programmatic focusing already handled by focus-trap Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
352bd7ecea
commit
f6f4c62936
3 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
|
|
@ -374,7 +373,6 @@ export default {
|
|||
|
||||
methods: {
|
||||
async onOpen() {
|
||||
this.focusInput()
|
||||
// Update types list in the background
|
||||
this.types = await getTypes()
|
||||
},
|
||||
|
|
|
|||
4
dist/core-unified-search.js
vendored
4
dist/core-unified-search.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-unified-search.js.map
vendored
2
dist/core-unified-search.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue