Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(prejoin): Auto focus display name input
Vlad Piersecb670b29d7fa5
diff --git a/react/features/base/premeeting/components/web/InputField.js b/react/features/base/premeeting/components/web/InputField.jsindex 90baa3c9bf..66ae40b791 100644--- a/react/features/base/premeeting/components/web/InputField.js+++ b/react/features/base/premeeting/components/web/InputField.js@@ -6,6 +6,11 @@ import { getFieldValue } from '../../../react';type Props = {+ /**+ * If the input should be focused on display.+ */+ autoFocus?: boolean,+/*** Class name to be appended to the default class list.*/@@ -109,6 +114,7 @@ export default class InputField extends PureComponent<Props, State> {render() {return (<input+ autoFocus = { this.props.autoFocus }className = { `field ${this.state.focused ? 'focused' : ''} ${this.props.className || ''}` }data-testid = { this.props.testId ? this.props.testId : undefined }onBlur = { this._onBlur }diff --git a/react/features/prejoin/components/Prejoin.js b/react/features/prejoin/components/Prejoin.jsindex 58fa83d791..c89f94374a 100644--- a/react/features/prejoin/components/Prejoin.js+++ b/react/features/prejoin/components/Prejoin.js@@ -279,6 +279,7 @@ class Prejoin extends Component<Props, State> {<div className = 'prejoin-input-area-container'><div className = 'prejoin-input-area'><InputField+ autoFocus = { true }onChange = { _setName }onSubmit = { joinConference }placeHolder = { t('dialog.enterDisplayName') }