mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Update hold delay comment to reflect press-and-hold behavior
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@ import { Controller } from "@hotwired/stimulus";
|
|||||||
export default class extends Controller {
|
export default class extends Controller {
|
||||||
static targets = ["section", "handle"];
|
static targets = ["section", "handle"];
|
||||||
|
|
||||||
// Short delay to prevent accidental touches on the grip handle
|
// Hold delay to require deliberate press-and-hold before activating drag mode
|
||||||
static values = {
|
static values = {
|
||||||
holdDelay: { type: Number, default: 500 },
|
holdDelay: { type: Number, default: 500 },
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user