Pick a better query selector
This commit is contained in:
parent
aea9f92d39
commit
d81fdafacb
|
@ -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 New Issue