Really fix HotKeys

rebase/4.0.0rc2
Thibaut Girka 2018-10-10 17:23:40 +02:00 committed by ThibG
parent 269edc0e48
commit bb1103d974
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} 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 />)}