fix logic

This commit is contained in:
Cory LaViska
2023-07-18 13:03:34 -04:00
parent cca40ca710
commit 33d2d4368f

View File

@@ -152,7 +152,7 @@ export default class SlDrawer extends ShoelaceElement {
private handleDocumentKeyDown = (event: KeyboardEvent) => {
// Contained drawers aren't modal and don't response to the escape key
if (!this.contained) {
if (this.contained) {
return;
}