fix(chat) Focus input on chat open (#13285)

This commit is contained in:
Robert Pintilii
2023-04-27 17:23:47 +03:00
committed by GitHub
parent 9060c77307
commit f6760e4ac7

View File

@@ -90,6 +90,8 @@ class ChatInput extends Component<IProps, IState> {
if (isMobileBrowser()) {
// Ensure textarea is not focused when opening chat on mobile browser.
this._textArea?.current && this._textArea.current.blur();
} else {
this._focus();
}
}