Pick a better query selector
This commit is contained in:
parent
aea9f92d39
commit
d81fdafacb
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ const ReactButton = {
|
|||
},
|
||||
focusInput () {
|
||||
this.$nextTick(() => {
|
||||
const input = document.querySelector('.popover.ReactButton').querySelector('input')
|
||||
const input = document.querySelector('.reaction-picker-filter > input')
|
||||
if (input) input.focus()
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue