Skip to content

Commit

Permalink
Update command-listener.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
vantezzen committed Nov 21, 2020
1 parent 3a0efff commit 3dabeb5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ class CommandListener extends Component<CommandListenerProps> {
// Handle global key pressing and releasing
_onKeyDown(event : KeyboardEvent) {
event.preventDefault();

event.stopPropagation();

const { key } = event;
const { config } = this.props;

Expand Down

0 comments on commit 3dabeb5

Please sign in to comment.