From 2ad4d60dac9aeef70cd4ddc13def3a73b9634e24 Mon Sep 17 00:00:00 2001 From: Brandon Casey <2381475+brandonocasey@users.noreply.github.com> Date: Tue, 27 Jul 2021 12:33:16 -0400 Subject: [PATCH] fix: prevent control bar clicks/taps with while user inactive (#7329) --- src/css/components/_control-bar.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/css/components/_control-bar.scss b/src/css/components/_control-bar.scss index e4a2981559..e10de8df1d 100644 --- a/src/css/components/_control-bar.scss +++ b/src/css/components/_control-bar.scss @@ -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);