From 9305cd6eb25923f7a597733e2d6a689adc0f11e6 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Thu, 9 Jul 2026 20:04:48 -0500 Subject: [PATCH] fix: drag-and-drop en tablero de tareas (SortableJS + Alpine x-for) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SortableJS mueve el nodo DOM físicamente antes de que Alpine re-renderice, causando conflicto: la tarjeta desaparecía o volvía a su columna original. Se revierte el movimiento DOM de SortableJS en onEnd y se deja que Alpine re-renderice solo al actualizar t.estado; luego se re-inicia Sortable. Se agrega cursor grab/grabbing como indicador visual de arrastre. Co-Authored-By: Claude Sonnet 4.6 --- resources/views/tareas.html | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/resources/views/tareas.html b/resources/views/tareas.html index 6aba72f..9779705 100644 --- a/resources/views/tareas.html +++ b/resources/views/tareas.html @@ -69,7 +69,7 @@ data-estado="">