mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-28 11:00:26 -05:00
Really fix HotKeys
This commit is contained in:
parent
269edc0e48
commit
bb1103d974
@ -456,7 +456,7 @@ export default class UI extends React.Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
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 }}>
|
<div className={className} ref={this.setRef} style={{ pointerEvents: dropdownMenuIsOpen ? 'none' : null }}>
|
||||||
{navbarUnder ? null : (<TabsBar />)}
|
{navbarUnder ? null : (<TabsBar />)}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user