From e52b2c49a635e4251185038881274b881261d531 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Thu, 30 Mar 2023 13:59:50 +0200 Subject: [PATCH] Fix mouse event for remove icon in ha file upload (#15976) --- src/components/ha-file-upload.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/ha-file-upload.ts b/src/components/ha-file-upload.ts index 045cac2daa..af4524b060 100644 --- a/src/components/ha-file-upload.ts +++ b/src/components/ha-file-upload.ts @@ -191,6 +191,9 @@ export class HaFileUpload extends LitElement { inset-inline-end: initial !important; direction: var(--direction); } + .mdc-text-field__icon--trailing { + pointer-events: auto !important; + } .dragged:before { position: var(--layout-fit_-_position); top: var(--layout-fit_-_top);