about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/ui/index.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-10-08 16:28:48 +0200
committerThibG <thib@sitedethib.com>2018-10-09 12:10:51 +0200
commitd0b1369a853dc2e5b7934c148547f71f8d103859 (patch)
treef5543c438877cb77cba6e5b8b0ac901ada3a77dc /app/javascript/flavours/glitch/features/ui/index.js
parent96c3d26870d4c8db1978c86b259e85d060d6f271 (diff)
Fix app-wide hotkeys randomly failing to work
Diffstat (limited to 'app/javascript/flavours/glitch/features/ui/index.js')
-rw-r--r--app/javascript/flavours/glitch/features/ui/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/ui/index.js b/app/javascript/flavours/glitch/features/ui/index.js
index ecbac1f8f..0a9beacab 100644
--- a/app/javascript/flavours/glitch/features/ui/index.js
+++ b/app/javascript/flavours/glitch/features/ui/index.js
@@ -456,7 +456,7 @@ export default class UI extends React.Component {
     };
 
     return (
-      <HotKeys keyMap={keyMap} handlers={handlers} ref={this.setHotkeysRef}>
+      <HotKeys keyMap={keyMap} handlers={handlers} ref={this.setHotkeysRef} focused>
         <div className={className} ref={this.setRef} style={{ pointerEvents: dropdownMenuIsOpen ? 'none' : null }}>
           {navbarUnder ? null : (<TabsBar />)}