diff --git a/src/background/Program.ts b/src/background/Program.ts index ac946430..34b8e243 100644 --- a/src/background/Program.ts +++ b/src/background/Program.ts @@ -2173,6 +2173,7 @@ export default class BackgroundProgram { oneTimeWindowMessageToken: this.oneTimeWindowMessageToken, mac: this.options.mac, isPinned: tabState.isPinned, + blurFocusedElementOnActivation: this.options.values.blurFocusedElementOnActivation, }; const getKeyboardShortcuts = ( diff --git a/src/options/Program.tsx b/src/options/Program.tsx index f27600c4..ebc50197 100644 --- a/src/options/Program.tsx +++ b/src/options/Program.tsx @@ -615,6 +615,41 @@ export default class OptionsProgram extends Component { )} /> + + When enabled, any currently focused element (like input fields or + text areas) will be blurred when hints are activated. This can + prevent the focused element from capturing keyboard input that + should go to the link hints system. +

+ } + changed={options.blurFocusedElementOnActivation !== defaults.blurFocusedElementOnActivation} + render={({ id }) => ( + + + + )} + /> + { const { oneTimeWindowMessageToken } = this; if (oneTimeWindowMessageToken === undefined) {