Skip to content

Commit 732dc67

Browse files
committed
🐛 [fix] TaskDetail 내의 드롭다운에 useOutsideClick 미작동 오류 수정
1 parent 855d4f0 commit 732dc67

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

src/components/task-detail/TaskDetail.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
:onClick="closeTaskDetail"
44
class="fixed inset-0 bg-black bg-opacity-15 flex justify-center items-center z-50 p-12" />
55
<div
6-
@click.stop
76
class="flex flex-col overflow-y-auto rounded-lg w-[calc(100%-96px)] max-w-[1104px] min-w-[768px] h-[calc(100%-96px)] bg-white shadow-custom py-6 fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-50">
87
<TaskDetailTopBar
98
v-if="data"

src/components/task-detail/TaskDetailLabelDropdown.vue

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@
1414
</div>
1515
<div
1616
v-if="dropdownOpen"
17-
class="absolute w-full h-32 overflow-y-auto top-12 flex flex-col gap-2 p-2 bg-white rounded z-10 shadow-custom text-black">
17+
class="absolute w-full pb-6 top-12">
1818
<div
19-
v-for="option in labelArr"
20-
:key="option.labelId"
21-
class="w-full flex text-sm items-center h-10 p-1.5 rounded hover:bg-background-2 cursor-pointer"
22-
@click="selectOption(option)">
23-
{{ option.labelName }}
19+
class="w-full h-32 overflow-y-auto flex flex-col gap-2 p-2 bg-white rounded z-10 shadow-custom text-black">
20+
<div
21+
v-for="option in labelArr"
22+
:key="option.labelId"
23+
class="w-full flex text-sm items-center h-10 p-1.5 rounded hover:bg-background-2 cursor-pointer"
24+
@click="selectOption(option)">
25+
{{ option.labelName }}
26+
</div>
2427
</div>
2528
</div>
2629
</div>

0 commit comments

Comments
 (0)