You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Mac sends lowercase event.key even when holding Shift unlike Windows
This commit is contained in:
@@ -672,6 +672,7 @@ export default class RoomView extends React.Component<IProps, IState> {
|
||||
handled = true;
|
||||
}
|
||||
break;
|
||||
case Key.U: // Mac returns lowercase
|
||||
case Key.U.toUpperCase():
|
||||
if (isOnlyCtrlOrCmdIgnoreShiftKeyEvent(ev) && ev.shiftKey) {
|
||||
dis.dispatch({ action: "upload_file" });
|
||||
|
||||
Reference in New Issue
Block a user