Browse Source

Merge branch 'fix-react-popover-input-focus' into 'develop'

Fix react popover input focus

Closes #1233

See merge request pleroma/pleroma-fe!1753
HJ 2 years ago
parent
commit
4e02005dd9
1 changed files with 1 additions and 1 deletions
  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('.reaction-picker-filter > input')
         if (input) input.focus()
       })
     },