Merge pull request #7031 from brad1111/fix-tv-focus-issues
This commit is contained in:
@@ -59,6 +59,7 @@ const QuickConnectPage: FC = () => {
|
||||
id='quickConnectPreferencesPage'
|
||||
title={globalize.translate('QuickConnect')}
|
||||
className='mainAnimatedPage libraryPage userPreferencesPage noSecondaryNavPage'
|
||||
shouldAutoFocus
|
||||
>
|
||||
<div className='padded-left padded-right padded-bottom-page'>
|
||||
<form onSubmit={onSubmitCode}>
|
||||
|
||||
@@ -79,6 +79,7 @@ export const ForgotPasswordPage = () => {
|
||||
<Page
|
||||
id='forgotPasswordPage'
|
||||
className='standalonePage forgotPasswordPage mainAnimatedPage'
|
||||
shouldAutoFocus
|
||||
>
|
||||
<div className='padded-left padded-right padded-bottom-page'>
|
||||
<form
|
||||
|
||||
@@ -39,5 +39,7 @@ export default function (view) {
|
||||
}
|
||||
|
||||
view.querySelector('form').addEventListener('submit', onSubmit);
|
||||
|
||||
view.querySelector('#txtPin').focus();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user