From 2505000fc6caff1ce5a8e914cd01600664429134 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Sat, 25 Jun 2022 09:12:15 -0700 Subject: [PATCH] Add comment. --- src/card.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/card.ts b/src/card.ts index 42a041be..87422e03 100644 --- a/src/card.ts +++ b/src/card.ts @@ -1696,7 +1696,12 @@ export class FrigateCard extends LitElement { */ protected _getMergedActions(): Actions { if (this._view?.is('timeline')) { - // Timeline does not support actions. + // Timeline does not support actions as it is not possible to prevent + // touch actions on the timeline surface from triggering card-wide actions + // inappropriately, whilst also maintaining touch interaction with the + // timeline itself (and almost the entire timeline surface can be + // interacted with). This causes duplicate/inappropriate card-wide actions + // on touch surfaces. return {}; }