Преглед изворни кода

Adjust query selector to actually get the popover now

flxy пре 2 година
родитељ
комит
aea9f92d39
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/components/react_button/react_button.js

+ 1 - 1
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()
       })
     },