mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix app-wide hotkeys randomly failing to work
This commit is contained in:
parent
96c3d26870
commit
d0b1369a85
@ -456,7 +456,7 @@ export default class UI extends React.Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
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 }}>
|
<div className={className} ref={this.setRef} style={{ pointerEvents: dropdownMenuIsOpen ? 'none' : null }}>
|
||||||
{navbarUnder ? null : (<TabsBar />)}
|
{navbarUnder ? null : (<TabsBar />)}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user