Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Increase touch hold delay to 1000ms for more reliable scroll behavior

juan5336ec159feb
diff --git a/app/javascript/controllers/dashboard_sortable_controller.js b/app/javascript/controllers/dashboard_sortable_controller.js
index 06731b8589..31ba4725b8 100644
--- a/app/javascript/controllers/dashboard_sortable_controller.js
+++ b/app/javascript/controllers/dashboard_sortable_controller.js
@@ -5,7 +5,7 @@ export default class extends Controller {
// Hold delay to require deliberate press-and-hold before activating drag mode
static values = {
- holdDelay: { type: Number, default: 750 },
+ holdDelay: { type: Number, default: 1000 },
};
connect() {