Really fix HotKeys

th-downstream
Thibaut Girka 6 years ago committed by ThibG
parent f9fc7d7660
commit bf559a477a

@ -456,7 +456,7 @@ export default class UI extends React.Component {
};
return (
<HotKeys keyMap={keyMap} handlers={handlers} ref={this.setHotkeysRef} focused>
<HotKeys keyMap={keyMap} handlers={handlers} ref={this.setHotkeysRef} attach={window} focused>
<div className={className} ref={this.setRef} style={{ pointerEvents: dropdownMenuIsOpen ? 'none' : null }}>
{navbarUnder ? null : (<TabsBar />)}

Loading…
Cancel
Save