From 5616e6107ba76cf287c7bbe5b9ce304bdf3d8d35 Mon Sep 17 00:00:00 2001 From: chr1syy Date: Thu, 5 Feb 2026 15:46:50 +0100 Subject: [PATCH] fix: resolve select dropdown z-index issue in group chat modals The native HTML select element's dropdown menu was being rendered behind the modal overlay, making it impossible to interact with the options. This was caused by a z-index stacking context issue where the modal's overlay had a higher z-index than the select element. Fixed by explicitly setting zIndex: 10000 on the select container and select element, and zIndex: 10001 on the icon, ensuring the dropdown renders above the modal overlay (z-index: 9999). Fixes the issue in both NewGroupChatModal and EditGroupChatModal. --- src/renderer/components/EditGroupChatModal.tsx | 11 +++++------ src/renderer/components/NewGroupChatModal.tsx | 7 ++++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/renderer/components/EditGroupChatModal.tsx b/src/renderer/components/EditGroupChatModal.tsx index d375cf93..13120e15 100644 --- a/src/renderer/components/EditGroupChatModal.tsx +++ b/src/renderer/components/EditGroupChatModal.tsx @@ -347,23 +347,22 @@ export function EditGroupChatModal({ ) : (
{/* Dropdown */} -
+
diff --git a/src/renderer/components/NewGroupChatModal.tsx b/src/renderer/components/NewGroupChatModal.tsx index 458f357d..8d25541d 100644 --- a/src/renderer/components/NewGroupChatModal.tsx +++ b/src/renderer/components/NewGroupChatModal.tsx @@ -340,15 +340,16 @@ export function NewGroupChatModal({ ) : (
{/* Dropdown */} -
+