From 64b8fd87ad4bf267c97e654e81ed780a9478cb3f Mon Sep 17 00:00:00 2001 From: lyzno1 Date: Sat, 11 Oct 2025 12:18:04 +0800 Subject: [PATCH] fix: improve dropdown menu positioning and z-index --- web/app/components/workflow/comment/thread.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/web/app/components/workflow/comment/thread.tsx b/web/app/components/workflow/comment/thread.tsx index 1212abb7c1..770be0b681 100644 --- a/web/app/components/workflow/comment/thread.tsx +++ b/web/app/components/workflow/comment/thread.tsx @@ -297,7 +297,7 @@ export const CommentThread: FC = memo(({
= memo(({ /> {replies.length > 0 && (
- {replies.map((reply) => { + {replies.map((reply, index) => { const isReplyEditing = editingReply?.id === reply.id const isOwnReply = reply.created_by_account?.id === userProfile?.id + const isLastReply = index === replies.length - 1 return (
= memo(({ {activeReplyMenuId === reply.id && ( -
+