Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
abunchtell
/
mastodon
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Atividade
Ver código fonte
Handle global hotkeys even when no element has focus (
#8998
)
This fixes hotkeys not working when pressing the column “back” button, for instance.
master
ThibG
5 anos atrás
committed by
Eugen Rochko
pai
7085b21f70
commit
adb06baef6
1 arquivos alterados
com
1 adições
e
1 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-1
app/javascript/mastodon/features/ui/index.js
+ 1
- 1
app/javascript/mastodon/features/ui/index.js
Ver arquivo
@@ -460,7 +460,7 @@ class UI extends React.PureComponent {
};
return (
<HotKeys keyMap={keyMap} handlers={handlers} ref={this.setHotkeysRef}>
<HotKeys keyMap={keyMap} handlers={handlers} ref={this.setHotkeysRef}
attach={window} focused
>
<div className={classNames('ui', { 'is-composing': isComposing })} ref={this.setRef} style={{ pointerEvents: dropdownMenuIsOpen ? 'none' : null }}>
<TabsBar />
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar