Fix app-wide hotkeys randomly failing to work

master
Thibaut Girka 6 years ago committed by ThibG
parent 96c3d26870
commit d0b1369a85
  1. 2
      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 />)}

Loading…
Cancel
Save