The personal finance app for everyone (by everyone)
Ruby
Update hold delay comment to reflect press-and-hold behavior
juan9dcb74c46bcd
diff --git a/app/javascript/controllers/dashboard_sortable_controller.js b/app/javascript/controllers/dashboard_sortable_controller.jsindex 12e9dbf158..ae4bf132ba 100644--- a/app/javascript/controllers/dashboard_sortable_controller.js+++ b/app/javascript/controllers/dashboard_sortable_controller.js@@ -3,7 +3,7 @@ import { Controller } from "@hotwired/stimulus";export default class extends Controller {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 modestatic values = {holdDelay: { type: Number, default: 500 },};