fix(lobby) fix not being able to type password

Autoofocus Strikes Back...
This commit is contained in:
Saúl Ibarra Corretgé 2022-08-02 15:55:27 +02:00 committed by Дамян Минков
parent 22a52dafca
commit a2c3bdf05f
1 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,7 @@ import { ActionButton, InputField, PreMeetingScreen } from '../../base/premeetin
import { connect } from '../../base/redux'; import { connect } from '../../base/redux';
import { getDisplayName, updateSettings } from '../../base/settings'; import { getDisplayName, updateSettings } from '../../base/settings';
import { getLocalJitsiVideoTrack } from '../../base/tracks'; import { getLocalJitsiVideoTrack } from '../../base/tracks';
import { getIsLobbyVisible } from '../../lobby/functions';
import { PasswordRequiredPrompt } from '../../room-lock/components'; import { PasswordRequiredPrompt } from '../../room-lock/components';
import { import {
joinConference as joinConferenceAction, joinConference as joinConferenceAction,
@ -459,8 +460,10 @@ function mapStateToProps(state): Object {
const name = getDisplayName(state); const name = getDisplayName(state);
const showErrorOnJoin = isDisplayNameRequired(state) && !name; const showErrorOnJoin = isDisplayNameRequired(state) && !name;
const { id: participantId } = getLocalParticipant(state); const { id: participantId } = getLocalParticipant(state);
const isLobbyVisible = getIsLobbyVisible(state);
const isAuthInProgress = isDialogOpen(state, WaitForOwnerDialog) const isAuthInProgress = isDialogOpen(state, WaitForOwnerDialog)
|| isDialogOpen(state, LoginDialog) || isDialogOpen(state, PasswordRequiredPrompt); || isDialogOpen(state, LoginDialog) || isDialogOpen(state, PasswordRequiredPrompt)
|| isLobbyVisible;
return { return {
canEditDisplayName: isPrejoinDisplayNameVisible(state), canEditDisplayName: isPrejoinDisplayNameVisible(state),