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

Fix react popover input focus

Closes #1233

See merge request pleroma/pleroma-fe!1753
This commit is contained in:
HJ 2023-01-11 17:07:47 +00:00
commit 4e02005dd9

View File

@ -41,7 +41,7 @@ const ReactButton = {
}, },
focusInput () { focusInput () {
this.$nextTick(() => { this.$nextTick(() => {
const input = this.$el.querySelector('input') const input = document.querySelector('.reaction-picker-filter > input')
if (input) input.focus() if (input) input.focus()
}) })
}, },