diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2021-03-01 09:27:19 +0200 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2021-03-01 09:27:19 +0200 |
| commit | 35cde98d2c7b6edb458963effb3e40d36d1b3ebf (patch) | |
| tree | 0e824d880b53cd8f1c6213aad74d9817486904a6 /src/components/react_button/react_button.js | |
| parent | 44e687653cd79ca99950040c547a23e3a8a99c23 (diff) | |
| parent | 49aa10e1c0e279d692fb92695f92e4b8548f6b12 (diff) | |
Merge branch 'fix/punycode-buggy' into rc/2.3.0
Diffstat (limited to 'src/components/react_button/react_button.js')
| -rw-r--r-- | src/components/react_button/react_button.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/react_button/react_button.js b/src/components/react_button/react_button.js index 5e7b7580..ce82c90d 100644 --- a/src/components/react_button/react_button.js +++ b/src/components/react_button/react_button.js @@ -23,6 +23,12 @@ const ReactButton = { this.$store.dispatch('reactWithEmoji', { id: this.status.id, emoji }) } close() + }, + focusInput () { + this.$nextTick(() => { + const input = this.$el.querySelector('input') + if (input) input.focus() + }) } }, computed: { |
