From cea3e22988c8ed63474282eb91ab47e71d016650 Mon Sep 17 00:00:00 2001
From: yinonov <yinon@hotmail.com>
Date: Tue, 17 Aug 2021 18:06:15 +0300
Subject: [PATCH] fix(vwc-side-drawer): handle scrim a11y violation

---
 components/side-drawer/src/vwc-side-drawer-base.ts | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/components/side-drawer/src/vwc-side-drawer-base.ts b/components/side-drawer/src/vwc-side-drawer-base.ts
index 3ceff3bfb4..4bac45af2f 100644
--- a/components/side-drawer/src/vwc-side-drawer-base.ts
+++ b/components/side-drawer/src/vwc-side-drawer-base.ts
@@ -132,13 +132,11 @@ export class VWCSideDrawerBase extends LitElement {
 
 	private renderScrim(): TemplateResult {
 		return html`
-			<div
-				class="vvd-side-drawer--scrim ${this.absolute
-		? 'vvd-side-drawer--absolute'
-		: ''}"
-				@click="${this.#handleScrimClick}"
-				@onKeydown="${this.#handleScrimClick}"
-			></div>`;
+				<div
+						class="vvd-side-drawer--scrim ${this.absolute ? 'vvd-side-drawer--absolute' : ''}"
+						@click="${this.#handleScrimClick}"
+						@keydown="${this.#handleScrimClick}"
+				></div>`;
 	}
 
 	#handleScrimClick(): void {