Added initial focus trap during exercises/exams

This commit is contained in:
Joao Ramos
2023-08-16 00:08:20 +01:00
parent dd0acbea61
commit 93a5bcf40f
10 changed files with 2940 additions and 3359 deletions

View File

@@ -317,7 +317,7 @@ export default function Page() {
</Head>
<ToastContainer />
{user && (
<Layout user={user} className="justify-between">
<Layout user={user} className="justify-between" focusMode={selectedModules.length !== 0}>
{renderScreen()}
</Layout>
)}