1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-01 08:18:53 +09:00

Fix app-wide hotkeys randomly failing to work

This commit is contained in:
Thibaut Girka 2018-10-08 16:28:48 +02:00 committed by ThibG
parent 96c3d26870
commit d0b1369a85

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