fix(lobby) fix not being able to type password
Autoofocus Strikes Back...
This commit is contained in:
parent
22a52dafca
commit
a2c3bdf05f
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue