From e7b36cdc92f19f8479d0d8ff6281acb375b7b6c4 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Tue, 7 Apr 2020 22:38:27 +0200 Subject: [PATCH] Fix cast panel view --- cast/src/receiver/layout/hc-lovelace.ts | 1 + .../lovelace/common/directives/action-handler-directive.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/cast/src/receiver/layout/hc-lovelace.ts b/cast/src/receiver/layout/hc-lovelace.ts index eacb89caebbb..fad09d632960 100644 --- a/cast/src/receiver/layout/hc-lovelace.ts +++ b/cast/src/receiver/layout/hc-lovelace.ts @@ -46,6 +46,7 @@ class HcLovelace extends LitElement { ? html` ` diff --git a/src/panels/lovelace/common/directives/action-handler-directive.ts b/src/panels/lovelace/common/directives/action-handler-directive.ts index 01ec4f6d103b..9ff99f7987cc 100644 --- a/src/panels/lovelace/common/directives/action-handler-directive.ts +++ b/src/panels/lovelace/common/directives/action-handler-directive.ts @@ -46,6 +46,7 @@ class ActionHandler extends HTMLElement implements ActionHandler { height: isTouch ? "100px" : "50px", transform: "translate(-50%, -50%)", pointerEvents: "none", + zIndex: "999", }); this.appendChild(this.ripple);