Adjust query selector to actually get the popover now
This commit is contained in:
parent
5dc6cbd487
commit
aea9f92d39
|
@ -41,7 +41,7 @@ const ReactButton = {
|
||||||
},
|
},
|
||||||
focusInput () {
|
focusInput () {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
const input = this.$el.querySelector('input')
|
const input = document.querySelector('.popover.ReactButton').querySelector('input')
|
||||||
if (input) input.focus()
|
if (input) input.focus()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue