Skip to content

Commit

Permalink
fix: prevent control bar clicks/taps with while user inactive (#7329)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey authored Jul 27, 2021
1 parent e90ae32 commit 2ad4d60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/css/components/_control-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
// Remain visible for screen reader and keyboard users
visibility: visible;
opacity: 0;
// prevent a click/tap from interacting with vjs-lock-showing menu's
// or other controls while we are inactive/hidden
pointer-events: none;

$trans: visibility 1.0s, opacity 1.0s;
@include transition($trans);
Expand Down

0 comments on commit 2ad4d60

Please sign in to comment.