docs(dictation): say why Hold can't see a key release inside a browser page (#40269)

This commit is contained in:
Kelvin Amoaba
2026-11-09 09:45:46 +00:00
committed by GitHub
parent 1b78d1d1d4
commit cd2e0cd787
+1 -1
View File
@@ -101,7 +101,7 @@ export function createMainWindow(
const settings = store?.getSettings()
browserManager.setDictationShortcutForwardingPredicate(() => {
const voice = store?.getSettings().voice
// Guests forward only keydown, so Hold's release can't reach the renderer; the page keeps the key then.
// Chromium drops a page's key releases after a press cancelled here, so Hold can't see its release; the page keeps the key then.
return voice?.enabled === true && voice.dictationMode !== 'hold'
})
const windowMaterial = resolveWindowMaterial(