mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-05 01:16:35 +00:00
Prevent KBS from being registrered if the view is hidden
This commit is contained in:
@@ -799,7 +799,7 @@ var gZenCKSSettings = {
|
||||
|
||||
//TODO Check for duplicates
|
||||
async _handleKeyDown(event) {
|
||||
if (!this._currentActionID) {
|
||||
if (!this._currentActionID || document.hidden) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user