Skip to content

Commit

Permalink
Reduce drag and drop delay on touch (#19888)
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya authored Feb 27, 2024
1 parent bf8a33e commit bb25817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/panels/lovelace/sections/hui-grid-section.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bb25817

Please sign in to comment.