mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
autofocus input fields
This commit is contained in:
1 parent
e11f3b1148
commit
84919e7104
3 files changed
+5
-3
No files matched your search
@@ -35,6 +35,7 @@ const MessageInput = ({ messageGroupId }: IProps) => {
|
||||
onChange={e => setMessage(e.target.value)}
|
||||
placeholder={t("APPS_MESSAGES_NEW_MESSAGE")}
|
||||
className={classes.input}
|
||||
inputRef={(input) => input && input.focus()}
|
||||
inputProps={{
|
||||
className: classes.messagesInput
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user