Fix app-wide hotkeys randomly failing to work

lolsob-rspec
Thibaut Girka 2018-10-08 16:28:48 +02:00 committed by ThibG
parent 3f68e9ed11
commit e968dcea13
1 changed files with 1 additions and 1 deletions

View File

@ -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 />)}