Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
abunchtell
/
mastodon
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Actividad
Explorar el Código
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
hace 5 años
committed by
Eugen Rochko
padre
7085b21f70
commit
adb06baef6
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
app/javascript/mastodon/features/ui/index.js
+ 1
- 1
app/javascript/mastodon/features/ui/index.js
Ver fichero
@@ -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 />
Escribir
Vista previa
Cargando…
Cancelar
Guardar