Skip to content

Commit

Permalink
fix(gv-policy-studio): remove conflicting behavior with the ESC key
Browse files Browse the repository at this point in the history
  • Loading branch information
gcusnieux committed Dec 20, 2021
1 parent 935fa16 commit 6f6ccbf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/policy-studio/gv-policy-studio.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,6 @@ export class GvPolicyStudio extends KeyboardElement(LitElement) {
search.focus();
}
}
if (this.isPressed(KEYS.Esc)) {
this._closeFlowStepForm();
this._onCloseDocumentation();
}
}
}

Expand Down Expand Up @@ -1114,7 +1110,7 @@ export class GvPolicyStudio extends KeyboardElement(LitElement) {
outlined
small
@gv-button:click="${this._onCloseFlowStepForm}"
title="Close (esc)"
title="Close"
></gv-button>
<gv-button
slot="header-left"
Expand Down

0 comments on commit 6f6ccbf

Please sign in to comment.