mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 14:52:13 +00:00
fix forgotten password modal
This commit is contained in:
parent
87e038414b
commit
bf3364e046
1 changed files with 4 additions and 1 deletions
|
|
@ -9,7 +9,10 @@ const CredentialsTextInput = React.forwardRef((props, ref) => {
|
|||
}
|
||||
|
||||
if (!event.nativeEvent.navigationPrevented) {
|
||||
event.stopPropagation();
|
||||
if (['ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight'].includes(event.key)) {
|
||||
event.stopPropagation();
|
||||
}
|
||||
|
||||
if (event.key === 'ArrowDown') {
|
||||
window.navigate('down');
|
||||
} else if (event.key === 'ArrowUp') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue