add task selector, change dropdowns to use floating-ui

This commit is contained in:
Gregor Vostrak
2024-04-10 21:06:19 +02:00
parent 9cbc54b9b6
commit b9ee79174a
12 changed files with 452 additions and 82 deletions

View File

@@ -34,7 +34,6 @@ const { focused } = useFocusWithin(dropdownContent);
watch(focused, (newValue, oldValue) => {
if (oldValue === true && newValue === false) {
console.log(newValue, oldValue);
updateTimeEntry();
}
});
@@ -43,7 +42,7 @@ watch(focused, (newValue, oldValue) => {
<template>
<div class="relative">
<Dropdown
align="right"
align="bottom"
:close-on-content-click="false"
@submit="updateTimeEntry">
<template #trigger>