From ac2333ee1c036e86df7cc74fdb509fec6d7546fc Mon Sep 17 00:00:00 2001
From: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Date: Tue, 24 Mar 2026 03:11:30 -0700
Subject: [PATCH] fix: separate nested interactive elements in roles manager
Moves the RolePermissionsDialog trigger to wrap only the text content
area instead of the entire card. The dropdown menu is now a sibling,
not nested inside the dialog button. Removes stopPropagation hacks.
Fixes #921
---
.../components/settings/roles-manager.tsx | 160 +++++++++---------
1 file changed, 77 insertions(+), 83 deletions(-)
diff --git a/surfsense_web/components/settings/roles-manager.tsx b/surfsense_web/components/settings/roles-manager.tsx
index 23b9aa4b6..0ccbb077d 100644
--- a/surfsense_web/components/settings/roles-manager.tsx
+++ b/surfsense_web/components/settings/roles-manager.tsx
@@ -510,93 +510,87 @@ function RolesContent({