about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-09-13 20:31:11 +0200
committerEugen Rochko <eugen@zeonfederated.com>2018-09-13 20:31:11 +0200
commit09a87b2cdbc2c5b19152b732e39b5fdb4164fc7d (patch)
tree6dc2c2bed138a1c5489605837c2e52f8ec41106e
parent661a89ea747e2ef8e0a7671e1a0ace148e9624e9 (diff)
Auto-focus emoji picker's search field (#8688)
Fixes #6056
-rw-r--r--app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js b/app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js
index 4fc32db8a..6c0fd9a2f 100644
--- a/app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js
+++ b/app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js
@@ -261,6 +261,7 @@ class EmojiPickerMenu extends React.PureComponent {
           skin={skinTone}
           showPreview={false}
           backgroundImageFn={backgroundImageFn}
+          autoFocus
           emojiTooltip
         />