Skip to content

fix: prevent face detection bypass via spacebar hold and click propag…#1104

Open
Vikasboura wants to merge 1 commit into
vicharanashala:mainfrom
Vikasboura:fix/issue-515-spacebar-proctoring-bypass
Open

fix: prevent face detection bypass via spacebar hold and click propag…#1104
Vikasboura wants to merge 1 commit into
vicharanashala:mainfrom
Vikasboura:fix/issue-515-spacebar-proctoring-bypass

Conversation

@Vikasboura

Copy link
Copy Markdown

…ation (#515)

  • Added a check in handlePlayPause() to block resuming playback when an anomaly is active (pauseVid || rewindVid || doGesture).
  • Ignored repeated Spacebar keydown events (event.repeat === true) in the window keydown listener.
  • Blocked click/mousedown event propagation on the Anomaly overlay wrapper, ConfirmOverlay, and NavigatingOverlay to prevent them from bubbling up and toggling playback.

…ation (vicharanashala#515)

- Added a check in handlePlayPause() to block resuming playback when an anomaly is active (pauseVid || rewindVid || doGesture).
- Ignored repeated Spacebar keydown events (event.repeat === true) in the window keydown listener.
- Blocked click/mousedown event propagation on the Anomaly overlay wrapper, ConfirmOverlay, and NavigatingOverlay to prevent them from bubbling up and toggling playback.
@github-actions github-actions Bot added the frontend Changes to the frontend of the project label Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Changes to the frontend of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant