1
0
mirror of https://github.com/videojs/video.js.git synced 2025-03-17 21:18:27 +02:00

fix: prevent control bar clicks/taps with while user inactive (#7329)

This commit is contained in:
Brandon Casey 2021-07-27 12:33:16 -04:00 committed by GitHub
parent e90ae32fec
commit 2ad4d60dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);