Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To restrict user to not leave the exam window in online exam conduction? #43

Open
HasaanSultan opened this issue Sep 6, 2019 · 0 comments

Comments

@HasaanSultan
Copy link

I am Developing a React Application for online MCQS exams. I want to restrict the user to not leave the exam screen until it completes the exam or time goes over. I used React Full-screen component for full screen,but on pressing the esc button it leaves the full screen. Is there any other way to achieved full screen rather than Full Screen API. Or any other way to implement the restrictions of online exam conduction. Also I want to Handle Some Key combinations like Alt+F4 , Ctrl+Shift+Tab.

I have used the Event Handler for the keyDown for esc button. but it fires after the full screen closes. Also I have Used Event Handler for F4 and all keyboard keys. but Alt+F4 close the browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant