The personal finance app for everyone (by everyone)
Ruby
Revert "Bind touch events to drag handle only, not entire section"
juan528f5f32a6cc
diff --git a/app/views/pages/dashboard.html.erb b/app/views/pages/dashboard.html.erbindex c89ebea168..eecc59bf37 100644--- a/app/views/pages/dashboard.html.erb+++ b/app/views/pages/dashboard.html.erb@@ -46,6 +46,9 @@data-action="dragstart->dashboard-sortable#dragStartdragend->dashboard-sortable#dragEnd+ touchstart->dashboard-sortable#touchStart+ touchmove->dashboard-sortable#touchMove+ touchend->dashboard-sortable#touchEndkeydown->dashboard-sortable#handleKeyDown"><div class="px-4 py-2 flex items-center justify-between"><div class="flex items-center gap-2">@@ -74,12 +77,7 @@<% end %><buttontype="button"- class="cursor-grab active:cursor-grabbing text-secondary hover:text-primary transition-colors p-0.5 lg:opacity-0 lg:group-hover:opacity-100"- data-dashboard-sortable-target="handle"- data-action="- touchstart->dashboard-sortable#touchStart- touchmove->dashboard-sortable#touchMove- touchend->dashboard-sortable#touchEnd"+ class="cursor-grab active:cursor-grabbing text-secondary hover:text-primary transition-colors p-0.5 opacity-0 group-hover:opacity-100 hidden lg:block"aria-label="<%= t("pages.dashboard.drag_to_reorder") %>"><%= icon("grip-vertical", size: "sm") %></button>