Reduce drag and drop delay on touch (#19888)

This commit is contained in:
Paul Bottein 2024-02-27 12:50:59 +01:00 committed by GitHub
parent bf8a33e086
commit bb25817bae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,