From 03e7185abe65e9c44a03a43309e91562d8aec73b Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sat, 13 Jun 2026 21:42:09 +0200 Subject: [PATCH] fix(todo): rebuild priority dropdown with controlled state The DaisyUI
/ dropdown didn't toggle reliably in Firefox (summary + inline-flex badge), and :focus-within left the wrong row open when TransitionGroup reordered tasks on sort. Replace with a Vue-controlled ref + onClickOutside, render options as colored badge buttons (no menu hover underline), and lift the widget by z-index: 1 only while open so the absolute menu paints above the next row. --- src/components/TodoTxtItem.vue | 124 ++++++++++++++++++++++++++------- 1 file changed, 99 insertions(+), 25 deletions(-) diff --git a/src/components/TodoTxtItem.vue b/src/components/TodoTxtItem.vue index b93e646..265511e 100644 --- a/src/components/TodoTxtItem.vue +++ b/src/components/TodoTxtItem.vue @@ -1,4 +1,5 @@