aboutsummaryrefslogtreecommitdiff
path: root/src/components/react_button
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2023-01-11 17:07:47 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2023-01-11 17:07:47 +0000
commit4e02005dd9237f3b44629ece293aeb42098323be (patch)
tree6af4c9ca12f76f7b002e53b5c17446269fd30c4a /src/components/react_button
parent5dc6cbd487ff5e1f8a709e1886dd1a850cae9ce8 (diff)
parentd81fdafacb86b120714b6541bd83cf588ab8b577 (diff)
Merge branch 'fix-react-popover-input-focus' into 'develop'
Fix react popover input focus Closes #1233 See merge request pleroma/pleroma-fe!1753
Diffstat (limited to 'src/components/react_button')
-rw-r--r--src/components/react_button/react_button.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/react_button/react_button.js b/src/components/react_button/react_button.js
index 2a0dac85..47a48623 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('.reaction-picker-filter > input')
if (input) input.focus()
})
},