mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 19:02:15 +00:00
CredentialsTextInput checks for native event prop
This commit is contained in:
parent
1d2239ab60
commit
9483c3cd05
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ const CredentialsTextInput = React.forwardRef((props, ref) => {
|
|||
props.onKeyDown(event);
|
||||
}
|
||||
|
||||
if (!event.navigationPrevented) {
|
||||
if (!event.nativeEvent.navigationPrevented) {
|
||||
event.stopPropagation();
|
||||
if (event.key === 'ArrowDown') {
|
||||
window.navigate('down');
|
||||
|
|
|
|||
Loading…
Reference in a new issue