diff --git a/src/components/react_button/react_button.js b/src/components/react_button/react_button.js index 2a0dac85..58fbb61b 100644 --- a/src/components/react_button/react_button.js +++ b/src/components/react_button/react_button.js @@ -41,7 +41,7 @@ const ReactButton = { }, focusInput () { this.$nextTick(() => { - const input = this.$el.querySelector('input') + const input = document.querySelector('.popover.ReactButton').querySelector('input') if (input) input.focus() }) },