Lock Screen: Disable keychain dialog, fix iOS pattern, remove Edge eye icon

This commit is contained in:
Alexander Zinchuk 2022-06-01 08:06:58 +04:00
parent 074a2d59a0
commit 2cc77b3d6b
3 changed files with 23 additions and 0 deletions

View File

@ -104,12 +104,25 @@ const PasswordForm: FC<OwnProps> = ({
} }
} }
function renderFakeInput() {
return (
<input
type="password"
id="prevent_autofill"
autoComplete="off"
className="visually-hidden"
tabIndex={-2}
/>
);
}
return ( return (
<form action="" onSubmit={handleSubmit} autoComplete="off"> <form action="" onSubmit={handleSubmit} autoComplete="off">
<div <div
className={buildClassName('input-group password-input', password && 'touched', error && 'error')} className={buildClassName('input-group password-input', password && 'touched', error && 'error')}
dir={lang.isRtl ? 'rtl' : undefined} dir={lang.isRtl ? 'rtl' : undefined}
> >
{shouldDisablePasswordManager && renderFakeInput()}
<input <input
ref={inputRef} ref={inputRef}
className="form-control" className="form-control"

View File

@ -30,6 +30,11 @@
background-image: url('../../assets/chat-bg-pattern-dark.png'); background-image: url('../../assets/chat-bg-pattern-dark.png');
mix-blend-mode: unset; mix-blend-mode: unset;
} }
@media (max-width: 600px) {
bottom: auto;
height: calc(var(--vh, 1vh) * 100);
}
} }
} }

View File

@ -168,6 +168,11 @@
clip: rect(0, 0, 0, 0); clip: rect(0, 0, 0, 0);
position: absolute; position: absolute;
} }
&::-ms-clear,
&::-ms-reveal {
display: none;
}
} }
select.form-control { select.form-control {