Fix Esc to close
This commit is contained in:
@ -21,7 +21,7 @@ const Home: NextPage = () => {
|
||||
}
|
||||
};
|
||||
|
||||
return (<main onKeyDown={hideModalOnEsc}>
|
||||
return (<main onKeyDown={hideModalOnEsc} tabIndex={-1}>
|
||||
<Head>
|
||||
<title>c0ntroller.de</title>
|
||||
</Head>
|
||||
|
Reference in New Issue
Block a user