From bb25817baeafa11f926c4a981131943f3ebfeb86 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Tue, 27 Feb 2024 12:50:59 +0100 Subject: [PATCH] Reduce drag and drop delay on touch (#19888) --- src/panels/lovelace/sections/hui-grid-section.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/lovelace/sections/hui-grid-section.ts b/src/panels/lovelace/sections/hui-grid-section.ts index 1a6ed30ff7d8..b63e9fac8f9d 100644 --- a/src/panels/lovelace/sections/hui-grid-section.ts +++ b/src/panels/lovelace/sections/hui-grid-section.ts @@ -17,7 +17,7 @@ import { moveCard } from "../editor/config-util"; import type { Lovelace, LovelaceCard } from "../types"; const CARD_SORTABLE_OPTIONS: HaSortableOptions = { - delay: 200, + delay: 100, delayOnTouchOnly: true, direction: "vertical", invertedSwapThreshold: 0.7,